functions: unsupress umount output
This commit is contained in:
parent
a54cbf27e6
commit
c370fe1672
|
@ -91,9 +91,9 @@ cleanup()
|
||||||
for d in ./tmp/*/; do
|
for d in ./tmp/*/; do
|
||||||
log "Unmounting $d"
|
log "Unmounting $d"
|
||||||
detach_chroot "$d"
|
detach_chroot "$d"
|
||||||
umount "$d/boot/simpleinit" 2> /dev/null
|
umount "$d/boot/simpleinit"
|
||||||
umount "$d/boot/efi" 2> /dev/null
|
umount "$d/boot/efi"
|
||||||
umount ./tmp/tmp.* 2> /dev/null
|
umount "$d"
|
||||||
rm -d "$d"
|
rm -d "$d"
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue