summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hooks/encrypt2
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