nixos/boot/stage-1-init: umount /findiso in stage-1

This commit is contained in:
penglei 2022-08-17 12:56:58 +08:00
parent ace5332dcb
commit 6393cb765e

View file

@ -555,6 +555,9 @@ while read -u 3 mountPoint; do
umount /tmp-iso
rmdir /tmp-iso
if [ -n "$isoPath" ] && [ $fsType = "iso9660" ] && mountpoint -q /findiso; then
umount /findiso
fi
continue
fi