summaryrefslogtreecommitdiff
path: root/check-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'check-kernel.in')
-rw-r--r--check-kernel.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-kernel.in b/check-kernel.in
index 823485f..ed819d2 100644
--- a/check-kernel.in
+++ b/check-kernel.in
@@ -163,9 +163,9 @@ else
read s
if [ -z "${s}" ]; then
if command -v screen >/dev/null; then
- shutdownasap -r
- else
screen -d -m 'shutdownasap -r'
+ else
+ shutdownasap -r
fi
fi
else