summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-29 08:40:35 +0100
committerErich Eckner <git@eckner.net>2017-10-29 08:40:35 +0100
commitd1a2edace935f33ba838b9dc7555b2c87a722795 (patch)
tree5e807ac0ad22bbf277b498fceb0c4b78f0d9773e
parentd69c0fce3c6550a0dd204be79606d1f053038137 (diff)
downloadcryptfs-daemon-d1a2edace935f33ba838b9dc7555b2c87a722795.tar.xz
cryptfs.bin: bugfixes
-rw-r--r--cryptfs.bin.in4
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
}