mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-25 00:37:34 +00:00
no debug_checks on source
This commit is contained in:
parent
9ce139a689
commit
d876f758ee
@ -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" "$@"
|
||||
|
||||
|
||||
#####################
|
||||
|
Loading…
Reference in New Issue
Block a user