diff options
Diffstat (limited to 'lib/Nagios/Plugin.pm')
-rw-r--r-- | lib/Nagios/Plugin.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm index 0915571..88c15c5 100644 --- a/lib/Nagios/Plugin.pm +++ b/lib/Nagios/Plugin.pm | |||
@@ -43,8 +43,7 @@ sub shortname { shift; @_ ? $shortname = shift : $shortname } | |||
43 | 43 | ||
44 | sub die { | 44 | sub die { |
45 | my $self = shift; | 45 | my $self = shift; |
46 | my %args = @_; | 46 | Nagios::Plugin::Base::die(@_, { plugin => $self }); |
47 | Nagios::Plugin::Base->die(\%args, $self); | ||
48 | } | 47 | } |
49 | 48 | ||
50 | 1; | 49 | 1; |