diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-03-09 23:42:58 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-03-09 23:49:30 -0500 |
commit | 58a1764446e5a1a30db360ee7a69555d7f2e8f1a (patch) | |
tree | a37dec36587cea82e018647226e6c5f29b29c83a /lib/Nagios/Plugin.pm | |
parent | 2db061c32e448cc725b5baf9ba0f42acba9ec8f6 (diff) | |
download | monitoring-plugin-perl-58a1764446e5a1a30db360ee7a69555d7f2e8f1a.tar.gz |
Fix nagios_die wrapper not properly passing last argument to nagios_exit
nagios_die() accepts many ways of specifying arguments. One of them is
passing the message only, in which case the last argument added by
Plugins.pm is on the 2nd position instead of the 3rd. One visible
effect of this bug is the inability to print custom "shortname" with
nagios_die when the exit code is not specified.
Diffstat (limited to 'lib/Nagios/Plugin.pm')
0 files changed, 0 insertions, 0 deletions