Typo fix and a couple of extra debug logs

This commit is contained in:
Rob Pearce 2022-01-23 15:52:30 +11:00
parent 8234748fec
commit e5758e5654
1 changed files with 5 additions and 1 deletions

View File

@ -150,7 +150,7 @@ function usage() {
echo " -x num Use 'num' simultaneous connections (default: 20)"
echo " -c Cron mode - log to ${LOGFILE}"
echo " -t Test mode - dump what would be done then exit."
echo " -T Telegram fornatting mode"
echo " -T Telegram formatting mode"
echo ""
echo "Valid commands are:"
echo " $VALIDCOMMANDS"
@ -815,6 +815,9 @@ if [[ -z $REPO_LIST ]]; then
exit 1
fi
[[ $VERBOSE -eq 1 ]] && log "Processing these repos: $REPO_LIST"
if [[ $TESTMODE -eq 1 ]]; then
action "Would have run '$CMD' on these repos:"
for f in $REPO_LIST; do
@ -831,6 +834,7 @@ errcount=0 # used for 'check' mode
warncount=0 # used for 'check' mode
errtext=""
for f in $REPO_LIST; do
[[ $VERBOSE -eq 1 ]] && log "debug: starting repo $f"
REPO=${f}
DATAPATH=$(getdatapath $REPO)
FULLLOGFILE="${FULLLOGFILE_BASE}_${REPO}.txt"