From 282448772a11b93fbb9b12ff96ee9ee0bdf9c843 Mon Sep 17 00:00:00 2001 From: Gnadelwartz Date: Sun, 29 Nov 2020 15:57:26 +0100 Subject: [PATCH] fix BASHBOT_UPDATELOG --- bashbot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 8117047..332a728 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -11,7 +11,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v1.2-pre2-0-ga1773cc +#### $$VERSION$$ v1.2-pre2-2-g11c1d55 # # Exit Codes: # - 0 success (hopefully) @@ -959,7 +959,7 @@ start_bot() { # redirect to Debug.log [[ "${1}" == *"debug" ]] && exec &>>"${DEBUGLOG}" printf "%s\n" "${DEBUGMSG}"; DEBUGMSG="${1}" - [[ "${DEBUGMSG}" == "xdebug"* ]] && set -x i && unset BASHBOT_UPDATELOG + [[ "${DEBUGMSG}" == "xdebug"* ]] && set -x && unset BASHBOT_UPDATELOG # cleaup old pipes and empty logfiles find "${DATADIR}" -type p -delete find "${DATADIR}" -size 0 -name "*.log" -delete