mirror of https://github.com/mikaku/Monitorix.git
fix opening wrong log file (was used for debugging purposes only)
This commit is contained in:
parent
2aef7a31d6
commit
399300ae9e
|
@ -343,8 +343,7 @@ sub mail_update {
|
|||
$rbl = 0;
|
||||
if(-r $config->{mail_log}) {
|
||||
my $date = strftime("%b %e", localtime);
|
||||
# open(IN, $config->{mail_log});
|
||||
open(IN, "/tmp/postfix-mail.log");
|
||||
open(IN, $config->{mail_log});
|
||||
if(!seek(IN, 0, 2)) {
|
||||
logger("Couldn't seek to the end ($config->{mail_log}): $!");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue