exim script patch

Ivana Varekova <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
/I'm going through fedora logwatch patches and this one is not in 
//upstream branch so I'm sending it here.
// 
//Ivana Hutarova Varekova/

_______________________________________________
Logwatch-Devel mailing list
[email protected]
http://www2.list.logwatch.org:81/mailman/listinfo/logwatch-devel
logwatch-exim.patch (text/x-patch, 851 B)
diff -up logwatch-7.3.6/scripts/services/exim.pom logwatch-7.3.6/scripts/services/exim
--- logwatch-7.3.6/scripts/services/exim.pom	2007-02-11 02:50:47.000000000 +0100
+++ logwatch-7.3.6/scripts/services/exim	2008-11-13 12:33:35.000000000 +0100
@@ -275,11 +275,13 @@ if ($Detail >= $LvlRestart) {
 }
 
 if ($Detail >= $LvlRestart) {
-   print "\n--- Queue Runners ---\n";
-   # Start Queue
-   $StartQueue and print "  Start queue run: $StartQueue Time(s)\n";
-   # End Queue
-   $EndQueue and print "  End queue run: $EndQueue Time(s)\n";
+   if (($StartQueue >0 ) or ($EndQueue > 0)) {
+      print "\n--- Queue Runners ---\n";
+      # Start Queue
+      $StartQueue and print "  Start queue run: $StartQueue Time(s)\n";
+      # End Queue
+      $EndQueue and print "  End queue run: $EndQueue Time(s)\n";
+   }
 }
 
 if ($Detail >= $LvlVerify) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.