diff options
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 } |