diff options
author | Erich Eckner <git@eckner.net> | 2017-10-29 08:40:35 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-29 08:40:35 +0100 |
commit | d1a2edace935f33ba838b9dc7555b2c87a722795 (patch) | |
tree | 5e807ac0ad22bbf277b498fceb0c4b78f0d9773e /cryptfs.bin.in | |
parent | d69c0fce3c6550a0dd204be79606d1f053038137 (diff) | |
download | cryptfs-daemon-d1a2edace935f33ba838b9dc7555b2c87a722795.tar.xz |
cryptfs.bin: bugfixes
Diffstat (limited to 'cryptfs.bin.in')
-rw-r--r-- | cryptfs.bin.in | 4 |
1 files 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 } |