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