Fix logger.pl script to avoid spurious empty line in some cases.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 30 Jun 2009 05:33:17 +0000 (05:33 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 30 Jun 2009 05:33:17 +0000 (05:33 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2420 b42882b7-edfa-0310-969c-e2dbd0fdcd60

tools/logger.pl

index 3256bdc..fb38f06 100644 (file)
@@ -37,4 +37,4 @@ while (<STDIN>)
        print STDERR "\n" unless ++$c % $C;
 }
 
-print STDERR "\n"
+print STDERR "\n" if $c;