Update check-pending-reboot.ps1

This commit is contained in:
Markus Fleschutz 2023-07-14 12:45:50 +02:00
parent 822aea86bf
commit e5b66841dc

View File

@ -24,7 +24,7 @@ try {
$Reason = "" $Reason = ""
if ($IsLinux) { if ($IsLinux) {
if (Test-Path "/var/run/reboot-required") { if (Test-Path "/var/run/reboot-required") {
$Reason = "found /var/run/reboot-required" $Reason = "found: /var/run/reboot-required"
Write-Host "⚠️ Pending reboot ($Reason)" Write-Host "⚠️ Pending reboot ($Reason)"
} }
} else { } else {