diff --git a/deploy.sh b/deploy.sh index ba98d09..ed161ea 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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;