From 24bf05a7dab7ca45c1fd289dcc2aa67a414170f2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 11 Mar 2022 20:51:24 +0100 Subject: only reboot if not yet shutting down --- check-kernel.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'check-kernel.in') 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 -- cgit v1.2.3-70-g09d2