plymouth/plymouth-newroot.sh: don't "exit 0" for sourced scripts

master
Harald Hoyer 2012-07-30 17:06:48 +02:00
parent cf62cc435f
commit 19cd47fd26
1 changed files with 3 additions and 2 deletions

View File

@ -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