diff options
author | Erich Eckner <git@eckner.net> | 2022-03-11 20:51:24 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-03-11 20:51:24 +0100 |
commit | 24bf05a7dab7ca45c1fd289dcc2aa67a414170f2 (patch) | |
tree | 79fe36f7ed8aeaaa937ef91e96375aa39451691c /check-kernel.in | |
parent | 1e69cd1449b855851c862fe1d4475dee96c869a6 (diff) | |
download | check-kernel-24bf05a7dab7ca45c1fd289dcc2aa67a414170f2.tar.xz |
only reboot if not yet shutting down
Diffstat (limited to 'check-kernel.in')
-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 9bfb962..ec76b6d 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 - screen -d -m shutdownasap -r + screen -d -m shutdownasap -R else - shutdownasap -r + shutdownasap -R fi fi else |