Updated check-apps.ps1

This commit is contained in:
Markus Fleschutz 2024-05-06 18:49:38 +02:00
parent a2014996f6
commit f74ab0c771

View File

@ -46,7 +46,7 @@ try {
$statusMsg += ", $numUpdates upgrades available"
$crashDumps = GetCrashDumps
if ($crashDump -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
}
Write-Host "$statusIcon $statusMsg"
exit 0 # success