From 31660eff1857320fd41a02c7df05fd1a79c5077b Mon Sep 17 00:00:00 2001 From: Q Date: Sun, 1 Jan 2023 11:51:12 +0200 Subject: [PATCH] fixes --- files/archivefs-mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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