add recursion when umounting /sys

This commit is contained in:
EvilOlaf
2025-08-13 05:28:46 +00:00
committed by Igor Pecovnik
parent b5e8062e21
commit 7bfe4f3f07

View File

@@ -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