]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth/plymouth-newroot.sh: fixed pre-pivot hook
authorHarald Hoyer <harald@redhat.com>
Mon, 30 Jul 2012 11:39:37 +0000 (13:39 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 30 Jul 2012 11:39:37 +0000 (13:39 +0200)
modules.d/50plymouth/plymouth-newroot.sh

index 2ffc929394a6b5487b11f8fffb607e584fe126b7..c5f1e56d2e4711fcc598968fd917bedc3cb54d53 100755 (executable)
@@ -2,5 +2,5 @@
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 
-[ -x /bin/plymouth ! -x /lib/systemd/systemd ] || exit 0
+[ -x /bin/plymouth -a ! -x /lib/systemd/systemd ] || exit 0
 /bin/plymouth --newroot=$NEWROOT