]> granicus.if.org Git - pgbadger/commitdiff
Fix unwanted newline in progressbar at startup.
authorGilles Darold <gilles@darold.net>
Wed, 12 Sep 2018 08:54:56 +0000 (10:54 +0200)
committerGilles Darold <gilles@darold.net>
Wed, 12 Sep 2018 08:54:56 +0000 (10:54 +0200)
pgbadger

index 2d02447e621b4c6c75dc9d86b04532ca8ccc5de6..d413f8310e1adaade030d58c9a60c33517d1ba46 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -2473,7 +2473,6 @@ sub process_file
                        if (!$tmpoutfile) {
                                if ($totalsize) {
                                        print STDERR &progress_bar($cursize, $stop_offset || $totalsize, 25, '=',$overall_stat{'queries_number'},($overall_stat{'errors_number'}+$pgb_overall_stat{'errors_number'}), $logfile);
-                                       print STDERR "\n";
                                }
                        } else {
                                $pipe->print("$cursize " . ($overall_stat{'queries_number'} - $old_queries_count) . " " . (($overall_stat{'errors_number'}+$pgb_overall_stat{'errors_number'}) - $old_errors_count) . "\n");