From 7a2dfa72ec1cf37c6a5b8a4123d9043a07277879 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 16 Oct 2024 10:32:57 +0200 Subject: [PATCH] Updated check-uptime.ps1 --- scripts/check-uptime.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-uptime.ps1 b/scripts/check-uptime.ps1 index 6d0d64fc..eacb16f8 100755 --- a/scripts/check-uptime.ps1 +++ b/scripts/check-uptime.ps1 @@ -47,7 +47,7 @@ try { $pending = "" if ($IsLinux) { if (Test-Path "/var/run/reboot-required") { - $status = "⚠️ " + $status = "⚠️" $pending = "with pending reboot (found /var/run/reboot-required)" } } else { @@ -83,7 +83,7 @@ try { $reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'" } if ($reason -ne "") { - $status = "⚠️ " + $status = "⚠️" $pending = "with pending reboot ($($reason.substring(2)) in registry)" } }