diff options
author | Erich Eckner <git@eckner.net> | 2017-10-29 12:20:04 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-29 12:20:04 +0100 |
commit | 5a7d7b895949839439dbe34bf5809c32d8f29075 (patch) | |
tree | 857132b3d2dcc7bbf53550a69bd74f9b19a9d608 /cryptfs.bin.in | |
parent | a22c18bfd11c52e8d8ee72dc7e15213c4333248f (diff) | |
download | cryptfs-daemon-5a7d7b895949839439dbe34bf5809c32d8f29075.tar.xz |
cryptfs.bin: do not fail on empty crypttab
Diffstat (limited to 'cryptfs.bin.in')
-rw-r--r-- | cryptfs.bin.in | 1 |
1 files changed, 1 insertions, 0 deletions
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}") |