forked from github/server
check for reports.txt before trying to send reports
This commit is contained in:
parent
1a888b4c87
commit
ded6cf14bf
|
@ -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 New Issue