From 3fec7de263b37385f0718f08b25fd8a767591044 Mon Sep 17 00:00:00 2001 From: Gilles Darold Date: Wed, 12 Sep 2018 10:54:56 +0200 Subject: [PATCH] Fix unwanted newline in progressbar at startup. --- pgbadger | 1 - 1 file changed, 1 deletion(-) diff --git a/pgbadger b/pgbadger index 2d02447..d413f83 100755 --- 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"); -- 2.40.0