From d1a2edace935f33ba838b9dc7555b2c87a722795 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 29 Oct 2017 08:40:35 +0100 Subject: cryptfs.bin: bugfixes --- cryptfs.bin.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptfs.bin.in b/cryptfs.bin.in index 9ef4245..ffaf673 100644 --- a/cryptfs.bin.in +++ b/cryptfs.bin.in @@ -154,7 +154,7 @@ do_mount() { case "$(mount_details fs "$1")" in 'ext'*) - e2fsck $(mount_details dev "$1") + e2fsck -p $(mount_details dev "$1") ;; 'fuse.sshfs'|'fuse.ftps') local max_wait @@ -212,7 +212,7 @@ do_crypt_close() { do_crypt_open() { if ! is_unlocked "$1"; then - cryptsetup luksOpen "$1" "$2" --key-file="$3" + cryptsetup luksOpen "$2" "$1" --key-file="$3" fi } -- cgit v1.2.3-70-g09d2