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() {
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue