🚧 insure that word_dir is safe to delete

This commit is contained in:
Vladislav Nepogodin committed 2022-07-13 00:51:21 +04:00
1 parent b77f7dbc70
commit 3645e87430
2 files changed
+5 -5

No files matched your search

+1 -3
View File
@@ -20,13 +20,11 @@ umount_img() {
check_umount() {
if mountpoint -q "$1"; then
sudo umount -l "$1"
sudo umount "$1"
fi
}
umount_fs(){
FS_ACTIVE_MOUNTS=()
if [[ -n ${FS_ACTIVE_MOUNTS[@]} ]]; then
info "overlayfs umount: [%s]" "${FS_ACTIVE_MOUNTS[@]}"
#umount "${FS_ACTIVE_MOUNTS[@]}"