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