From f1adc55735fe58d96fd849ea837f196c139f23a8 Mon Sep 17 00:00:00 2001 From: secretspecter Date: Sun, 18 Jun 2023 23:13:05 -0600 Subject: [PATCH] woops, just exit --- pixup.ps1 | 2 +- update_and_clean.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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