From 5a7d7b895949839439dbe34bf5809c32d8f29075 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 29 Oct 2017 12:20:04 +0100 Subject: cryptfs.bin: do not fail on empty crypttab --- cryptfs.bin.in | 1 + 1 file changed, 1 insertion(+) diff --git a/cryptfs.bin.in b/cryptfs.bin.in index ffaf673..9e8e1e7 100644 --- a/cryptfs.bin.in +++ b/cryptfs.bin.in @@ -217,6 +217,7 @@ do_crypt_open() { } echo "${crypttab}" | \ + grep -vxF '' | \ while read -r name raw key; do key="${key%% *}" key_mount=$(mountpoint_to_file "${key}") -- cgit v1.2.3-70-g09d2