]> git.sur5r.net Git - openocd/commitdiff
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 3256bdcf708050b0050e16c82258e7bc0bfa36a9..fb38f067d7d1f0ec36ee1a78936759d37cf92318 100644 (file)
@@ -37,4 +37,4 @@ while (<STDIN>)
        print STDERR "\n" unless ++$c % $C;
 }
 
-print STDERR "\n"
+print STDERR "\n" if $c;