]> git.ipfire.org Git - people/stevee/guardian.git/blobdiff - modules/Base.pm
Pass logger object to the mainsettings hash for a usage
[people/stevee/guardian.git] / modules / Base.pm
index e4ff8a0abed48f12f3d47f04fded1b5cf330b556..0e43823628461cab951b66aba5accfd940aa3388 100644 (file)
@@ -20,7 +20,7 @@ sub InitFileposition ($) {
        my $file = $_[0];
 
        # Open the file.
-       open(FILE, $file) or die "Could not open $file. $!\n";
+       open(FILE, $file) or die "Could not open $file. $!";
 
        # Just seek to the end of the file (EOF).
        seek(FILE, 0, 2);