Blame SOURCES/0060-systemd-dracut-initqueue.sh-fixed-waiting-in-the-loo.patch

a56a5e
From a1e9e9364a98032a83e166173930c141c8baa4c6 Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Thu, 5 Dec 2013 18:38:35 +0100
966cef
Subject: [PATCH] systemd/dracut-initqueue.sh: fixed waiting in the loop if PW
966cef
 asked
966cef
966cef
continue the main loop instead of the for loop, if a password is
966cef
currently asked
966cef
---
966cef
 modules.d/98systemd/dracut-initqueue.sh | 2 +-
966cef
 1 file changed, 1 insertion(+), 1 deletion(-)
966cef
966cef
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
1755ca
index 64e81541..1e05dcd0 100755
966cef
--- a/modules.d/98systemd/dracut-initqueue.sh
966cef
+++ b/modules.d/98systemd/dracut-initqueue.sh
966cef
@@ -53,7 +53,7 @@ while :; do
966cef
     sleep 0.5
966cef
 
966cef
     for i in /run/systemd/ask-password/ask.*; do
966cef
-        [ -e "$i" ] && continue
966cef
+        [ -e "$i" ] && continue 2
966cef
     done
966cef
 
966cef
     if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then