diff --git a/common b/common index ced125b..431064c 100644 --- a/common +++ b/common @@ -42,8 +42,9 @@ chroot_setup() { chroot_teardown() { if (( ${#CHROOT_ACTIVE_MOUNTS[@]} )); then - umount "${CHROOT_ACTIVE_MOUNTS[@]}" + umount -l "${CHROOT_ACTIVE_MOUNTS[@]}" fi + unset CHROOT_ACTIVE_MOUNTS }