check for reports.txt before trying to send reports

This commit is contained in:
Enno Rehling 2014-12-14 06:57:45 +01:00
parent 1a888b4c87
commit ded6cf14bf
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ case "$1" in
[ -f $TESTROOT/turn ] || abort "missing turn file, and no turn specified"
let turn=$(cat $TESTROOT/turn)
fi
[ -f reports.txt ] || abort "missing reports.txt for game $game"
for faction in $* ; do
send $faction
sent=1