@ -281,8 +281,13 @@ remove_chroot()
log "Failed to umount chroot" error
exit 1
}
{
rm -rf "${CHROOTDIR:?}/" &&
log "Done!"
rm -rf "${CHROOTDIR:?}/"
} || {
log "Failed to remove chroot" error
chroot_into()