diff options
author | Erich Eckner <git@eckner.net> | 2020-05-06 13:59:45 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-06 13:59:45 +0200 |
commit | 73c0489a9644e22a54757c6ca7bcc0f05e818913 (patch) | |
tree | ebc421d985d36a469f4e0371a6cee69756e31161 | |
parent | de62da1ca8626179b2d52464eae55fdee8ab5d86 (diff) | |
download | check-kernel-73c0489a9644e22a54757c6ca7bcc0f05e818913.tar.xz |
check-kernel.in: flip logic whether screen is available
-rw-r--r-- | check-kernel.in | 4 |
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 |