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

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