diff options
author | Nathan Vonnahme <n8v@users.sourceforge.net> | 2006-11-10 01:26:16 +0000 |
---|---|---|
committer | Nathan Vonnahme <n8v@users.sourceforge.net> | 2006-11-10 01:26:16 +0000 |
commit | d84da4e2ec8569b8ff15356b6881df307c7333ca (patch) | |
tree | 16dd035b8a5aaaec75f7571eb78e21069f200049 /lib/Nagios/Plugin/ExitResult.pm | |
parent | 2d5e416592ff2fab507bd4ebfacab3a66a3b8e46 (diff) | |
download | monitoring-plugin-perl-d84da4e2ec8569b8ff15356b6881df307c7333ca.tar.gz |
* exposed Getopt and Threshold functionality from top level Nagios::Plugin
* exchanged Class::Struct for Class::Accessor
* POD is not updated yet.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1536 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/Nagios/Plugin/ExitResult.pm')
-rw-r--r-- | lib/Nagios/Plugin/ExitResult.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Nagios/Plugin/ExitResult.pm b/lib/Nagios/Plugin/ExitResult.pm index 191c92a..b161e9e 100644 --- a/lib/Nagios/Plugin/ExitResult.pm +++ b/lib/Nagios/Plugin/ExitResult.pm | |||
@@ -39,7 +39,7 @@ return codes when testing. | |||
39 | $e = nagios_exit( CRITICAL, 'aiiii ...' ); | 39 | $e = nagios_exit( CRITICAL, 'aiiii ...' ); |
40 | print $e->message; | 40 | print $e->message; |
41 | print $e->return_code; | 41 | print $e->return_code; |
42 | 42 | ||
43 | # NP::ExitResult also stringifies to the message output | 43 | # NP::ExitResult also stringifies to the message output |
44 | like(nagios_exit( WARNING, 'foobar'), qr/^foo/, 'matches!'); | 44 | like(nagios_exit( WARNING, 'foobar'), qr/^foo/, 'matches!'); |
45 | 45 | ||