mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-28 17:48:59 +01:00
Updated check-apps.ps1
This commit is contained in:
parent
a2014996f6
commit
f74ab0c771
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user