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