Blame SOURCES/0427-99base-init.sh-break-the-initqueue-if-emergency-shel.patch

a0a3b4
From a95fe14581ff39fb4354dac5782a25d578dcc972 Mon Sep 17 00:00:00 2001
a0a3b4
From: Harald Hoyer <harald@redhat.com>
a0a3b4
Date: Thu, 30 Jun 2016 16:32:44 +0200
a0a3b4
Subject: [PATCH] 99base/init.sh: break the initqueue, if emergency shell was
a0a3b4
 successful
a0a3b4
a0a3b4
---
a0a3b4
 modules.d/99base/init.sh | 3 ++-
a0a3b4
 1 file changed, 2 insertions(+), 1 deletion(-)
a0a3b4
a0a3b4
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
a0a3b4
index a07d0f9..7bbe670 100755
a0a3b4
--- a/modules.d/99base/init.sh
a0a3b4
+++ b/modules.d/99base/init.sh
a0a3b4
@@ -214,7 +214,8 @@ while :; do
a0a3b4
 
a0a3b4
     main_loop=$(($main_loop+1))
a0a3b4
     [ $main_loop -gt $RDRETRY ] \
a0a3b4
-        && { flock -s 9 ; action_on_fail "Could not boot." && break; } 9>/.console_lock
a0a3b4
+        && { flock -s 9 ; action_on_fail "Could not boot."; } 9>/.console_lock \
a0a3b4
+        && break
a0a3b4
 done
a0a3b4
 unset job
a0a3b4
 unset queuetriggered