summaryrefslogtreecommitdiff
path: root/unlock
diff options
context:
space:
mode:
Diffstat (limited to 'unlock')
-rw-r--r--unlock4
1 files changed, 1 insertions, 3 deletions
diff --git a/unlock b/unlock
index 42e30d2..a5aaa70 100644
--- a/unlock
+++ b/unlock
@@ -1,5 +1,3 @@
#!/bin/sh
-root=$(findfs UUID=ec8fb072-1200-4275-9494-f6f869187806) || exit
-cryptsetup open --allow-discards "$root" root || exit
-pkill cryptsetup
+root=$(findfs UUID=ec8fb072-1200-4275-9494-f6f869187806) && cryptsetup open --allow-discards "$root" root && pkill cryptsetup