Update util-iso-mount.sh

This commit is contained in:
Philip Müller 2021-07-20 11:27:26 +00:00
parent 90d7cd8301
commit 6c127f06f8

View file

@ -82,7 +82,7 @@ umount_fs(){
rm -rf "${mnt_dir}/work"
fi
mount_folders=$(grep "${work_dir}" /proc/mounts | awk '{print$2}' | sort -r)
for i in mount_folders
for i in $mount_folders
do
cat /proc/mounts
info "umount: [%s]" "$i"