diff --git a/pixup.ps1 b/pixup.ps1 index fd3bcd0..905fead 100644 --- a/pixup.ps1 +++ b/pixup.ps1 @@ -7,7 +7,7 @@ param( if (!(Get-Command "magick.exe" -ErrorAction SilentlyContinue)) { Write-Host "There's no magick.exe to work with!" - Exit-PSHostProcess + exit } if (Test-Path $in -PathType container) { diff --git a/update_and_clean.ps1 b/update_and_clean.ps1 index c43b540..f1b25ab 100644 --- a/update_and_clean.ps1 +++ b/update_and_clean.ps1 @@ -14,7 +14,7 @@ If (!(New-Object Security.Principal.WindowsPrincipal $( ) } # otherwise just exit. - Exit-PSHostProcess + exit } Get-WindowsUpdate -AcceptAll -Install