diff --git a/sshfs-mount b/sshfs-mount index f9956d7..f8512e6 100755 --- a/sshfs-mount +++ b/sshfs-mount @@ -33,6 +33,7 @@ while [ ${#} -gt 0 ]; do --help) showHelp; exit 0;; -b | --bastion) BASTION="${2}"; shift; shift;; -d | --mountbase) MOUNTBASEDIR=$(realpath "${2}"); shift; shift;; + *) shift;; esac done MOUNTDIR="${MOUNTBASEDIR}/${2}"; diff --git a/sshfs-umount b/sshfs-umount index 2e137b3..7718ef6 100755 --- a/sshfs-umount +++ b/sshfs-umount @@ -25,6 +25,7 @@ while [ ${#} -gt 0 ]; do case ${1} in --help) showHelp; exit 0;; -d | --mountbase) MOUNTBASEDIR=$(realpath "${2}"); shift; shift;; + *) shift;; esac done MOUNTDIR="${MOUNTBASEDIR}/${2}";