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