summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-03-10 04:42:58 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-03-10 04:49:30 (GMT)
commit58a1764446e5a1a30db360ee7a69555d7f2e8f1a (patch)
treea37dec36587cea82e018647226e6c5f29b29c83a /t
parent2db061c32e448cc725b5baf9ba0f42acba9ec8f6 (diff)
downloadmonitoring-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 't')
0 files changed, 0 insertions, 0 deletions