From aac8219870e0ead9ccc412808ffec2d89aa44f84 Mon Sep 17 00:00:00 2001 From: Nicolai Langfeldt Date: Thu, 20 Jun 2019 09:53:05 +0200 Subject: [PATCH] Don't "exit 1" Postfix does not make the log file until there is anything to log. So on low-volume hosts this makes unneeded noise. --- plugins/node.d/postfix_mailvolume | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/node.d/postfix_mailvolume b/plugins/node.d/postfix_mailvolume index 9d66963080..7a83df9c71 100755 --- a/plugins/node.d/postfix_mailvolume +++ b/plugins/node.d/postfix_mailvolume @@ -145,7 +145,7 @@ my $logfile = "$LOGDIR/$LOGFILE"; if (! -f $logfile) { print "volume.value U\n"; - exit 1; + exit 0; } # load the stored data