]> granicus.if.org Git - pgbadger/commitdiff
Fix error message in autodetect_format() method.
authorGilles Darold <gilles.darold@dalibo.com>
Tue, 27 Sep 2016 12:16:15 +0000 (14:16 +0200)
committerGilles Darold <gilles.darold@dalibo.com>
Tue, 27 Sep 2016 12:16:15 +0000 (14:16 +0200)
pgbadger

index a131511b0ea6e528f9a67a6cc0d7e2df37fdae48..c8697602dc8e9a8385dd48c13ef2c74b702d3133 100644 (file)
--- 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 = <TESTFILE>;
        close(TESTFILE);
        # is file in binary format ?