[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
- Previous message: [Nagiosplug-checkins] Nagios-Plugin/t Nagios-Plugin-Base.t, 1.1, 1.2 Nagios-Plugin-Performance.t, 1.5, 1.6 Nagios-Plugin-Threshold.t, 1.3, 1.4 Nagios-Plugin.t, 1.2, 1.3
- Next message: [Nagiosplug-checkins] Nagios-Plugin/lib/Nagios/Plugin Base.pm, 1.3, 1.4 Getopt.pm, 1.4, 1.5 Threshold.pm, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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;
- Previous message: [Nagiosplug-checkins] Nagios-Plugin/t Nagios-Plugin-Base.t, 1.1, 1.2 Nagios-Plugin-Performance.t, 1.5, 1.6 Nagios-Plugin-Threshold.t, 1.3, 1.4 Nagios-Plugin.t, 1.2, 1.3
- Next message: [Nagiosplug-checkins] Nagios-Plugin/lib/Nagios/Plugin Base.pm, 1.3, 1.4 Getopt.pm, 1.4, 1.5 Threshold.pm, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list