From bde1d90ae348d5459168d74790f2c34a073b7962 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Fri, 13 Nov 2020 20:29:58 -0500 Subject: jam unlock into one line --- unlock | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-54-g00ecf