umount ventory in cleanup
This commit is contained in:
1 parent
ab4ef348fc
commit
67c4fbdfca
1 file changed
+2
@@ -4,6 +4,8 @@ set -e
|
||||
cleanup() {
|
||||
echo "Cleaning Mounts"
|
||||
|
||||
umount -lf /mnt/ventoy || true
|
||||
|
||||
mount_points=("/dev" "/dev/pts" "/proc" "/sys" "/sys/firmware/efi/efivars" "/run")
|
||||
|
||||
for i in $mount_points; do umount -lf /mnt/debian$i || true; done
|
||||
|
||||
Reference in new issue
Block a user