diff --git a/lib/functions/general/chroot-helpers.sh b/lib/functions/general/chroot-helpers.sh index 07b62faf3..a28feee25 100644 --- a/lib/functions/general/chroot-helpers.sh +++ b/lib/functions/general/chroot-helpers.sh @@ -41,7 +41,7 @@ function umount_chroot() { umount "${target}"/dev/pts || true umount --recursive "${target}"/dev || true umount "${target}"/proc || true - umount "${target}"/sys || true + umount --recursive "${target}"/sys || true umount "${target}"/tmp || true umount "${target}"/var/tmp || true umount "${target}"/run/user/0 || true