You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
814 B
25 lines
814 B
6 years ago
|
From a95fe14581ff39fb4354dac5782a25d578dcc972 Mon Sep 17 00:00:00 2001
|
||
|
From: Harald Hoyer <harald@redhat.com>
|
||
|
Date: Thu, 30 Jun 2016 16:32:44 +0200
|
||
|
Subject: [PATCH] 99base/init.sh: break the initqueue, if emergency shell was
|
||
|
successful
|
||
|
|
||
|
---
|
||
|
modules.d/99base/init.sh | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
|
||
|
index a07d0f94..7bbe6703 100755
|
||
|
--- a/modules.d/99base/init.sh
|
||
|
+++ b/modules.d/99base/init.sh
|
||
|
@@ -214,7 +214,8 @@ while :; do
|
||
|
|
||
|
main_loop=$(($main_loop+1))
|
||
|
[ $main_loop -gt $RDRETRY ] \
|
||
|
- && { flock -s 9 ; action_on_fail "Could not boot." && break; } 9>/.console_lock
|
||
|
+ && { flock -s 9 ; action_on_fail "Could not boot."; } 9>/.console_lock \
|
||
|
+ && break
|
||
|
done
|
||
|
unset job
|
||
|
unset queuetriggered
|