diff --git a/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Winget-AutoUpdate/Winget-Upgrade.ps1 index febaccc..39e4285 100644 --- a/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -269,7 +269,7 @@ if (Test-Network) { } } - if ($InstallOK -eq 0) { + if ($InstallOK -eq 0 -or !$InstallOK) { Write-Log "No new update." "Green" }