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 bbe2f36448804a0fb76517d258f165059c253d55..cf4636c814440da3165bcd6ba94d2905454c7629 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