borg-umount-archiv.sh: some minor changes on script output.
This commit is contained in:
parent
4b35efda16
commit
8bd5fd5eed
@ -268,9 +268,11 @@ export BORG_RSH
|
||||
BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
|
||||
export BORG_RELOCATED_REPO_ACCESS_IS_OK
|
||||
|
||||
declare -i index=0
|
||||
for _dir in $(ls /mnt/borg-fuse-mount) ; do
|
||||
|
||||
echononl "Unmount fuse filesystem mounted at '${BORG_FUSE_MOUNT_DIR}/${_dir}'.."
|
||||
echo " Unmount fuse filesystem mounted at"
|
||||
echo -e -n " '${BORG_FUSE_MOUNT_DIR}/${_dir}'.."
|
||||
|
||||
#borg umount ${BORG_FUSE_MOUNT_DIR} >> "${log_file}" 2>&1
|
||||
|
||||
@ -286,7 +288,13 @@ for _dir in $(ls /mnt/borg-fuse-mount) ; do
|
||||
#echo ${_dir}
|
||||
#umount ${BORG_FUSE_MOUNT_DIR}/${_dir}
|
||||
rmdir ${BORG_FUSE_MOUNT_DIR}/${_dir}
|
||||
|
||||
((index++))
|
||||
done
|
||||
|
||||
if [[ $index -lt 1 ]] ; then
|
||||
warn "No borgfs mounted."
|
||||
fi
|
||||
|
||||
|
||||
clean_up 0
|
||||
|
Loading…
Reference in New Issue
Block a user