mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Update check-pending-reboot.ps1
This commit is contained in:
parent
822aea86bf
commit
e5b66841dc
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user