From 28a87be9cba556a142d5cabf9744c22346ba2723 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 17 Mar 2024 00:04:35 +0100 Subject: [PATCH] umount bug --- sshfs-umount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshfs-umount b/sshfs-umount index 351c488..e9d4741 100755 --- a/sshfs-umount +++ b/sshfs-umount @@ -26,7 +26,7 @@ while [ ${#} -gt 0 ]; do --help) showHelp; exit 0;; -d | --mountbase) MOUNTBASEDIR=$(realpath "${2}"); shift; shift;; *) - MOUNTDIR="${MOUNTBASEDIR}/${2}"; + MOUNTDIR="${MOUNTBASEDIR}/${1}"; shift ;; esac