From 73c0489a9644e22a54757c6ca7bcc0f05e818913 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 May 2020 13:59:45 +0200 Subject: check-kernel.in: flip logic whether screen is available --- check-kernel.in | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2