Typo fix and a couple of extra debug logs
This commit is contained in:
parent
8234748fec
commit
e5758e5654
6
bare.sh
6
bare.sh
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue