diff --git a/files/archivefs-mount b/files/archivefs-mount index c50cf0d..182eede 100755 --- a/files/archivefs-mount +++ b/files/archivefs-mount @@ -13,7 +13,6 @@ _helpexit() { exit 1 } -[[ -z "$1" ]] && _menu for (( i=1; i<=$#; i++ )); do [[ ${!i} = "-h" ]] && _helpexit [[ ${!i} = "--help" ]] && _helpexit @@ -33,6 +32,7 @@ mountpath=~/mnt/am/"$valid_name" if [[ "$unmount" = true ]]; then cd ~/mnt if [[ -n "$archive" ]]; then + echo Unmounting "$mountpath" fusermount -u -z "$mountpath" rmdir --ignore-fail-on-non-empty "$mountpath" &>/dev/null else