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