ur
This commit is contained in:
parent
94746ca497
commit
dc087a205b
1 changed files with 6 additions and 3 deletions
|
@ -94,9 +94,12 @@ chroot \
|
|||
"
|
||||
|
||||
ur() {
|
||||
local f
|
||||
for f in "sys" "proc" "dev/pts" "dev"; do
|
||||
umount --lazy "overlay/mount/${f}"
|
||||
local directory
|
||||
for directory in "sys" "proc" "dev/pts" "dev"; do
|
||||
if ! umount --lazy "overlay/mount/${directory}"; then
|
||||
log_error "Unable to bind unmount directory: ${directory}"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue