umount-fix
This commit is contained in:
parent
3351fcbe9e
commit
f0b86bd502
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ function secureumount() {
|
|||
# custom-mounts
|
||||
for wort in ${mountsnaps}
|
||||
do
|
||||
if cat /proc/mounts | grep ${mountpoint}${wort} > /dev/null; then
|
||||
umount ${mountpoint}${wort}
|
||||
fi
|
||||
done
|
||||
umount ${mountpoint}
|
||||
umount /mnt/btrfs-root
|
||||
|
|
Loading…
Reference in a new issue