[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.6,1.7

Subhendu Ghosh sghosh at users.sourceforge.net
Fri Jun 7 17:34:03 CEST 2002


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory usw-pr-cvs1:/tmp/cvs-serv12326

Modified Files:
	check_ntp.pl 
Log Message:
xntpdc/ntpdc patch - John Koyle

Index: check_ntp.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** check_ntp.pl	6 Jun 2002 04:13:44 -0000	1.6
--- check_ntp.pl	8 Jun 2002 00:33:50 -0000	1.7
***************
*** 121,128 ****
  my $key = undef;
  # some systems don't have a proper ntpdc/xntpdc
  if ($utils::PATH_TO_NTPDC && -x $utils::PATH_TO_NTPDC ) {
! 	my $have_ntpdc = 1;  
  }else{
! 	my $have_ntpdc = 0;
  }
  
--- 121,129 ----
  my $key = undef;
  # some systems don't have a proper ntpdc/xntpdc
+ my $have_ntpdc = undef;
  if ($utils::PATH_TO_NTPDC && -x $utils::PATH_TO_NTPDC ) {
! 	$have_ntpdc = 1;  
  }else{
! 	$have_ntpdc = 0;
  }
  





More information about the Commits mailing list