From ded6cf14bf786fdbd2d27d90d7ccf1c5f411ce67 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 14 Dec 2014 06:57:45 +0100 Subject: [PATCH] check for reports.txt before trying to send reports --- s/preview | 1 + 1 file changed, 1 insertion(+) diff --git a/s/preview b/s/preview index 94edabaf1..369c7557c 100755 --- a/s/preview +++ b/s/preview @@ -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