Blame 0081-plymouth-plymouth-newroot.sh-fixed-pre-pivot-hook.patch

Harald Hoyer 811c04
From 171ba532bc93951bb06c8bc1acdc80718dc306e4 Mon Sep 17 00:00:00 2001
Harald Hoyer 811c04
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 811c04
Date: Mon, 30 Jul 2012 13:39:37 +0200
Harald Hoyer 811c04
Subject: [PATCH] plymouth/plymouth-newroot.sh: fixed pre-pivot hook
Harald Hoyer 811c04
Harald Hoyer 811c04
---
Harald Hoyer 811c04
 modules.d/50plymouth/plymouth-newroot.sh | 2 +-
Harald Hoyer 811c04
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 811c04
Harald Hoyer 811c04
diff --git a/modules.d/50plymouth/plymouth-newroot.sh b/modules.d/50plymouth/plymouth-newroot.sh
Harald Hoyer 811c04
index 2ffc929..c5f1e56 100755
Harald Hoyer 811c04
--- a/modules.d/50plymouth/plymouth-newroot.sh
Harald Hoyer 811c04
+++ b/modules.d/50plymouth/plymouth-newroot.sh
Harald Hoyer 811c04
@@ -2,5 +2,5 @@
Harald Hoyer 811c04
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
Harald Hoyer 811c04
 # ex: ts=8 sw=4 sts=4 et filetype=sh
Harald Hoyer 811c04
 
Harald Hoyer 811c04
-[ -x /bin/plymouth ! -x /lib/systemd/systemd ] || exit 0
Harald Hoyer 811c04
+[ -x /bin/plymouth -a ! -x /lib/systemd/systemd ] || exit 0
Harald Hoyer 811c04
 /bin/plymouth --newroot=$NEWROOT