From 7488d52922d507ef220268e86e96ecea55a29c5d Mon Sep 17 00:00:00 2001 From: dcoomber <47242934+dcoomber@users.noreply.github.com> Date: Sat, 26 Sep 2020 21:25:17 +0200 Subject: [PATCH] Cosmetic updates to some comments --- bashbot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 825dd7e..72a0156 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -915,7 +915,7 @@ start_bot() { [[ "${1}" == *"debug" ]] && exec &>>"${DEBUGLOG}" printf "%s\n" "${DEBUGMSG}"; DEBUGMSG="${1}" [[ "${DEBUGMSG}" == "xdebug"* ]] && set -x - #cleaup old pipes and empty logfiles + # cleaup old pipes and empty logfiles find "${DATADIR}" -type p -delete find "${DATADIR}" -size 0 -name "*.log" -delete # load addons on startup @@ -951,7 +951,7 @@ start_bot() { sleep "$(_round_float "${nextsleep}e-3" "1")" # get next update UPDATE="$(getJson "$UPD_URL$OFFSET" "nolog" 2>/dev/null | "${JSONSHFILE}" -s -b -n 2>/dev/null | iconv -f utf-8 -t utf-8 -c)" - # did we ge an responsn0r + # did we get an response? if [ -n "${UPDATE}" ]; then # we got something, do processing [ "${OFFSET}" = "-999" ] && [ "${nextsleep}" -gt "$((maxsleep*2))" ] &&\