Do not fail or print an error if the logfile already exists.
authorDiego Biurrun <diego@biurrun.de>
Fri, 25 May 2007 13:22:01 +0000 (13:22 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 25 May 2007 13:22:01 +0000 (13:22 +0000)
Originally committed as revision 9127 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/seek_test.sh

index bbe2f36..cf4636c 100755 (executable)
@@ -7,7 +7,7 @@ logfile="$datadir/seek.regression"
 reffile="$1"
 
 list=`ls data/a-* data/b-* | sort`
-rm $logfile
+rm -f $logfile
 for i in $list ; do
     echo ---------------- >>$logfile
     echo $i >>$logfile