]> git.pld-linux.org Git - packages/munin.git/blob - munin-node-config.patch
- perl sucks
[packages/munin.git] / munin-node-config.patch
1 --- munin-1.3.2-plugins/node/munin-node.in~     2005-04-15 22:31:21.000000000 +0200
2 +++ munin-1.3.2-plugins/node/munin-node.in      2005-10-09 14:39:18.137528464 +0200
3 @@ -859,7 +859,7 @@
4             if (!defined $sconf->{$service}{'user'})
5             {
6                 warn "User \"$tmpid\" in configuration file \"$dir/$file\" nonexistant. Skipping plugin.";
7 -               return undef;
8 +               next;
9             }
10         }
11         elsif (/^\s*group\s+(.+)\s*$/)
12 @@ -881,7 +881,7 @@
13                 if (!defined $g and !$optional)
14                 {
15                     warn "Group \"$group\" in configuration file \"$dir/$file\" nonexistant. Skipping plugin.";
16 -                   return undef;
17 +                   next;
18                 }
19                 elsif (!defined $g and $optional)
20                 {
21 --- munin-1.3.2/node/munin-run.in~      2005-04-15 22:31:21.000000000 +0200
22 +++ munin-1.3.2/node/munin-run.in       2005-10-09 21:12:20.575416064 +0200
23 @@ -457,7 +457,7 @@
24             if (!defined $sconf->{$service}{'user'})
25             {
26                 warn "User \"$tmpid\" in configuration file \"$dir/$file\" nonexistant. Skipping plugin.";
27 -               return undef;
28 +               next;
29             }
30         }
31         elsif (/^\s*group\s+(.+)\s*$/)
32 @@ -477,7 +477,7 @@
33                 if (!defined $g and !$optional)
34                 {
35                     warn "Group \"$group\" in configuration file \"$dir/$file\" nonexistant. Skipping plugin.";
36 -                   return undef;
37 +                   next;
38                 }
39                 elsif (!defined $g and $optional)
40                 {
This page took 0.032436 seconds and 3 git commands to generate.