Force unmounting
This commit is contained in:
parent
b82e3b05be
commit
0edf1696dc
1 changed files with 3 additions and 3 deletions
|
@ -120,9 +120,9 @@ else
|
||||||
sudo wimdelete --soft "$wimFile" 2;
|
sudo wimdelete --soft "$wimFile" 2;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
sudo umount "$mountPath";
|
sudo umount -f "$mountPath";
|
||||||
sudo umount "$bootPath";
|
sudo umount -f "$bootPath";
|
||||||
sudo umount "$dataPath";
|
sudo umount -f "$dataPath";
|
||||||
sudo rm -rf "$mountPath" "$bootPath" "$dataPath";
|
sudo rm -rf "$mountPath" "$bootPath" "$dataPath";
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue