diff --git a/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Winget-AutoUpdate/Winget-Upgrade.ps1 index 3bd3094..e92c77c 100644 --- a/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -133,7 +133,7 @@ if (Test-Network) { #If something is wrong with the winget source, exit if ($outdated -like "Problem:*") { - Write-Log "An error occured, exiting..." "red" + Write-Log "Critical: An error occured, exiting..." "red" Write-Log "$outdated" "red" New-Item "$WorkingDir\logs\winget_error.txt" -Value "$outdated" -Force Exit 1