functions: unsupress umount output

This commit is contained in:
timoxa0 2024-11-02 21:14:29 +05:00
parent a54cbf27e6
commit c370fe1672

View file

@ -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