Force unmounting

This commit is contained in:
Manuel Thalmann 2023-07-09 12:43:30 +02:00
parent b82e3b05be
commit 0edf1696dc

View file

@ -120,9 +120,9 @@ else
sudo wimdelete --soft "$wimFile" 2;
done;
sudo umount "$mountPath";
sudo umount "$bootPath";
sudo umount "$dataPath";
sudo umount -f "$mountPath";
sudo umount -f "$bootPath";
sudo umount -f "$dataPath";
sudo rm -rf "$mountPath" "$bootPath" "$dataPath";
fi;