woops, just exit

This commit is contained in:
secretspecter 2023-06-18 23:13:05 -06:00
parent 0efddd49e1
commit f1adc55735
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ param(
if (!(Get-Command "magick.exe" -ErrorAction SilentlyContinue)) { if (!(Get-Command "magick.exe" -ErrorAction SilentlyContinue)) {
Write-Host "There's no magick.exe to work with!" Write-Host "There's no magick.exe to work with!"
Exit-PSHostProcess exit
} }
if (Test-Path $in -PathType container) { if (Test-Path $in -PathType container) {

View file

@ -14,7 +14,7 @@ If (!(New-Object Security.Principal.WindowsPrincipal $(
) )
} }
# otherwise just exit. # otherwise just exit.
Exit-PSHostProcess exit
} }
Get-WindowsUpdate -AcceptAll -Install Get-WindowsUpdate -AcceptAll -Install