Browse Source

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
master
Harald Hoyer 11 years ago
parent
commit
3934ca8e6c
  1. 2
      modules.d/98systemd/dracut-initqueue.sh

2
modules.d/98systemd/dracut-initqueue.sh

@ -53,7 +53,7 @@ while :; do
sleep 0.5 sleep 0.5


for i in /run/systemd/ask-password/ask.*; do for i in /run/systemd/ask-password/ask.*; do
[ -e "$i" ] && continue [ -e "$i" ] && continue 2
done done


if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then

Loading…
Cancel
Save