SOURCES: munin-node-config.patch (NEW) - don't stop reading plugin...
baggins
baggins at pld-linux.org
Sun Oct 9 14:40:45 CEST 2005
Author: baggins Date: Sun Oct 9 12:40:45 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- don't stop reading plugins.conf on nonexistant user/group
---- Files affected:
SOURCES:
munin-node-config.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/munin-node-config.patch
diff -u /dev/null SOURCES/munin-node-config.patch:1.1
--- /dev/null Sun Oct 9 14:40:45 2005
+++ SOURCES/munin-node-config.patch Sun Oct 9 14:40:40 2005
@@ -0,0 +1,20 @@
+--- munin-1.3.2-plugins/node/munin-node.in~ 2005-04-15 22:31:21.000000000 +0200
++++ munin-1.3.2-plugins/node/munin-node.in 2005-10-09 14:39:18.137528464 +0200
+@@ -859,7 +859,7 @@
+ if (!defined $sconf->{$service}{'user'})
+ {
+ warn "User \"$tmpid\" in configuration file \"$dir/$file\" nonexistant. Skipping plugin.";
+- return undef;
++ next;
+ }
+ }
+ elsif (/^\s*group\s+(.+)\s*$/)
+@@ -881,7 +881,7 @@
+ if (!defined $g and !$optional)
+ {
+ warn "Group \"$group\" in configuration file \"$dir/$file\" nonexistant. Skipping plugin.";
+- return undef;
++ next;
+ }
+ elsif (!defined $g and $optional)
+ {
================================================================
More information about the pld-cvs-commit
mailing list