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 9d1b9d01f9
commit 65b48a7996

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