mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 07:53:21 +01:00
Update check-pending-reboot.ps1
This commit is contained in:
parent
822aea86bf
commit
e5b66841dc
@ -24,7 +24,7 @@ try {
|
||||
$Reason = ""
|
||||
if ($IsLinux) {
|
||||
if (Test-Path "/var/run/reboot-required") {
|
||||
$Reason = "found /var/run/reboot-required"
|
||||
$Reason = "found: /var/run/reboot-required"
|
||||
Write-Host "⚠️ Pending reboot ($Reason)"
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user