[Nagiosplug-checkins] Nagios-Plugin/lib/Nagios Plugin.pm,1.6,1.7

Gavin Carr gonzai at users.sourceforge.net
Mon Sep 11 03:57:28 CEST 2006


Update of /cvsroot/nagiosplug/Nagios-Plugin/lib/Nagios
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17327/lib/Nagios

Modified Files:
	Plugin.pm 
Log Message:
Add constants, nagios_exit, and nagios_die to Nagios::Plugin::Base.

Index: Plugin.pm
===================================================================
RCS file: /cvsroot/nagiosplug/Nagios-Plugin/lib/Nagios/Plugin.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Plugin.pm	7 Sep 2006 00:53:51 -0000	1.6
+++ Plugin.pm	11 Sep 2006 01:57:26 -0000	1.7
@@ -43,8 +43,7 @@
 
 sub die {
 	my $self = shift;
-	my %args = @_;
-	Nagios::Plugin::Base->die(\%args, $self);
+	Nagios::Plugin::Base::die(@_, { plugin => $self });
 }
 
 1;





More information about the Commits mailing list