diff options
Diffstat (limited to 'lib/Nagios')
-rw-r--r-- | lib/Nagios/Plugin/Functions.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Nagios/Plugin/Functions.pm b/lib/Nagios/Plugin/Functions.pm index 9a8272a..4ff6118 100644 --- a/lib/Nagios/Plugin/Functions.pm +++ b/lib/Nagios/Plugin/Functions.pm | |||
@@ -173,7 +173,7 @@ sub nagios_die { | |||
173 | 173 | ||
174 | # Else just assume $arg1 is the message and hope for the best | 174 | # Else just assume $arg1 is the message and hope for the best |
175 | else { | 175 | else { |
176 | return nagios_exit( UNKNOWN, $arg1, $rest ); | 176 | return nagios_exit( UNKNOWN, $arg1, $arg2 ); |
177 | } | 177 | } |
178 | } | 178 | } |
179 | 179 | ||