From d95644521ccd544cbb9a8bfeda927a6b9f6fb01a Mon Sep 17 00:00:00 2001 From: Subhendu Ghosh Date: Tue, 7 May 2002 05:35:49 +0000 Subject: 2nd fix for ePN git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@22 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-scripts/check_ntp.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins-scripts/check_ntp.pl') diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index 918ad504..9a58d78a 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl @@ -47,7 +47,7 @@ # source. This happens while starting up and if contact # with master has been lost. # -# Modifed to run under Embedded Perl - patch from Douglas Warner +# Modifed to run under Embedded Perl # @@ -56,10 +56,11 @@ use POSIX; use strict; use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_w $opt_c $verbose $PROGNAME); -use FindBin; -use lib "$FindBin::Bin"; +use lib utils.pm ; use utils qw($TIMEOUT %ERRORS &print_revision &support); +$PROGNAME="check_ntp"; + sub print_help (); sub print_usage (); -- cgit v1.2.3-74-g34f1