Skip to content

Commit

Permalink
Don't "exit 1"
Browse files Browse the repository at this point in the history
Postfix does not make the log file until there is anything to log.  So on low-volume hosts this makes unneeded noise.
  • Loading branch information
Nicolai Langfeldt authored and steveschnepp committed Jun 23, 2019
1 parent 94ae96a commit aac8219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/node.d/postfix_mailvolume
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ my $logfile = "$LOGDIR/$LOGFILE";

if (! -f $logfile) {
print "volume.value U\n";
exit 1;
exit 0;
}

# load the stored data
Expand Down

0 comments on commit aac8219

Please # to comment.