diff options
Diffstat (limited to 'check_mem')
-rwxr-xr-x | check_mem | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -141,6 +141,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(); |