diff options
Diffstat (limited to 'hooks/encrypt')
-rw-r--r-- | hooks/encrypt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/encrypt b/hooks/encrypt index cc1b315..3209cf3 100644 --- a/hooks/encrypt +++ b/hooks/encrypt @@ -16,7 +16,7 @@ run_hook () echo "A password is required to access the root filesystem:" #loop until we get a real password - while !/bin/cryptsetup luksOpen ${root} root; do + while ! /bin/cryptsetup luksOpen ${root} root; do sleep 2; done if [ -e "/dev/mapper/root" ]; then |