mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2025-11-21 09:46:25 +00:00
Optimized umount procedures
This commit is contained in:
@@ -5,9 +5,7 @@
|
||||
source "$(dirname "$(readlink -f "${0}")")/base.sh" || (echo "Loading base.sh failed." && exit 1)
|
||||
|
||||
destructor(){
|
||||
info "Unmount everything" &&
|
||||
umount "$root_mount_path"{dev/pts,dev,sys,proc,boot,} $boot_mount_path||
|
||||
warning "Failed."
|
||||
umount_everything
|
||||
}
|
||||
|
||||
info "Starting chroot..."
|
||||
|
||||
Reference in New Issue
Block a user