From d876f758ee13b0b9a79c81da7982a272026acfcb Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 1 Feb 2021 18:30:34 +0100 Subject: [PATCH] no debug_checks on source --- bashbot.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 1171b9d..22dac24 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb # 8 - curl/wget missing # 10 - not bash! # -#### $$VERSION$$ v1.40-dev-29-g737be16 +#### $$VERSION$$ v1.40-dev-31-g9ce139a ################################################################## # are we running in a terminal? @@ -372,7 +372,8 @@ if [ -r "${COMMANDS}" ]; then else [ -z "${SOURCE}" ] && printf "${RED}Warning: ${COMMANDS} does not exist or is not readable!.${NN}" fi -debug_checks "start SOURCE=${SOURCE:-no}" "$@" +# no debug checks on source +[ -z "${SOURCE}" ] && debug_checks "start" "$@" #####################