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