plymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts
parent
cf62cc435f
commit
19cd47fd26
|
@ -2,5 +2,6 @@
|
||||||
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||||
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||||
|
|
||||||
[ -x /bin/plymouth -a -z "$DRACUT_SYSTEMD" ] || exit 0
|
if [ -x /bin/plymouth -a -z "$DRACUT_SYSTEMD" ]; then
|
||||||
/bin/plymouth --newroot=$NEWROOT
|
/bin/plymouth --newroot=$NEWROOT
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue