diff options
Diffstat (limited to 'check_load')
-rwxr-xr-x | check_load | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -128,9 +128,7 @@ sub handle_vserver($$$;$$) { # fix taint mode $ENV{PATH} = undef; -if ($0 =~ m/(\w[\w\/]*\w)/) { - $ENV{'NAGIOS_PLUGIN'} = $1; -} +$ENV{'NAGIOS_PLUGIN'} = $1 if ($0 =~ m/(\w[\w\/]*\w)/); my $n = init_nagios_plugin(); $n->getopts(); |