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

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