Keyword: Critical...
parent
4e2c2b5c33
commit
369ae7bdd4
|
@ -133,7 +133,7 @@ if (Test-Network) {
|
||||||
|
|
||||||
#If something is wrong with the winget source, exit
|
#If something is wrong with the winget source, exit
|
||||||
if ($outdated -like "Problem:*") {
|
if ($outdated -like "Problem:*") {
|
||||||
Write-Log "An error occured, exiting..." "red"
|
Write-Log "Critical: An error occured, exiting..." "red"
|
||||||
Write-Log "$outdated" "red"
|
Write-Log "$outdated" "red"
|
||||||
New-Item "$WorkingDir\logs\winget_error.txt" -Value "$outdated" -Force
|
New-Item "$WorkingDir\logs\winget_error.txt" -Value "$outdated" -Force
|
||||||
Exit 1
|
Exit 1
|
||||||
|
|
Loading…
Reference in New Issue