From 369ae7bdd4def22d8f0dda6f381665344b2757f7 Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Mon, 12 Dec 2022 02:52:46 +0100 Subject: [PATCH] Keyword: Critical... --- Winget-AutoUpdate/Winget-Upgrade.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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