diff options
Diffstat (limited to 'gmi.pl')
-rwxr-xr-x | gmi.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ use warnings; use 5.010; #use diagnostics; -our $VERSION = 'v0.0.8'; +our $VERSION = 'v0.0.9'; # Modules use IO::Socket::SSL; # CPAN @@ -555,7 +555,7 @@ sub logging { elsif (exists $conf_ref->{default}{log_file} and $conf_ref->{default}{log_file}) { my $p = abs_or_rel($conf_ref->{default}{log_file}); if ($p eq 'abs') { - open my $fh, '|-', "$conf_ref->{default}{log_file}" + open my $fh, '>>', "$conf_ref->{default}{log_file}" or die "Cannot open log file: $ERRNO"; return $fh; } |