From: Gilles Darold Date: Tue, 27 Sep 2016 12:16:15 +0000 (+0200) Subject: Fix error message in autodetect_format() method. X-Git-Tag: v9.1~26^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9fab6e1d8bc9eca23daff8a349ad282c8efa775;p=pgbadger Fix error message in autodetect_format() method. --- diff --git a/pgbadger b/pgbadger index a131511..c869760 100644 --- a/pgbadger +++ b/pgbadger @@ -13449,7 +13449,7 @@ sub autodetect_format my $nline = 0; my $fmt = ''; - localdie("FATAL: when detecting binary file, can't open file $file, $!\n") unless(open(TESTFILE, $file)); + localdie("FATAL: when looking for log file format, can't open file $file, $!\n") unless(open(TESTFILE, $file)); my $fltf = ; close(TESTFILE); # is file in binary format ?