forked from github/server
check for reports.txt before trying to send reports
This commit is contained in:
parent
9d1b9d01f9
commit
65b48a7996
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ case "$1" in
|
||||||
[ -f $TESTROOT/turn ] || abort "missing turn file, and no turn specified"
|
[ -f $TESTROOT/turn ] || abort "missing turn file, and no turn specified"
|
||||||
let turn=$(cat $TESTROOT/turn)
|
let turn=$(cat $TESTROOT/turn)
|
||||||
fi
|
fi
|
||||||
|
[ -f reports.txt ] || abort "missing reports.txt for game $game"
|
||||||
for faction in $* ; do
|
for faction in $* ; do
|
||||||
send $faction
|
send $faction
|
||||||
sent=1
|
sent=1
|
||||||
|
|
Loading…
Reference in a new issue