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