This commit is contained in:
Marc Beninca 2024-11-16 04:28:32 +01:00
parent 94746ca497
commit dc087a205b
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -94,9 +94,12 @@ chroot \
" "
ur() { ur() {
local f local directory
for f in "sys" "proc" "dev/pts" "dev"; do for directory in "sys" "proc" "dev/pts" "dev"; do
umount --lazy "overlay/mount/${f}" if ! umount --lazy "overlay/mount/${directory}"; then
log_error "Unable to bind unmount directory: ${directory}"
return 1
fi
done done
} }