From 6ba95beb939297cea432f5aa910a03c53de63fd4 Mon Sep 17 00:00:00 2001 From: Michael Kluge Date: Tue, 19 Nov 2019 16:40:15 +0100 Subject: [PATCH] /dev/tty --> /dev/stdin --- watchdog.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/watchdog.sh b/watchdog.sh index 7680fef..0e9a21b 100755 --- a/watchdog.sh +++ b/watchdog.sh @@ -43,8 +43,8 @@ if [ $AUTO_DETACH_COUNT -eq 1 ]; then done exit $RET else - if [ -e "/dev/tty" ]; then - setsid java -jar "$SCRIPT_FOLDER/jars/watchdog.jar" $@