summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-10-04 16:38:25 (GMT)
committerJan Wagner <waja@cyconet.org>2015-10-04 16:38:25 (GMT)
commit20d223119eb40bd1ecdd637eb845f5e16c87bd36 (patch)
tree5da35a4ab336514116c36165030f2f1e6c6fd44b
parent2f5d0b105cb985ee22bce9a401d7b685e82d4458 (diff)
downloadmonitoring-plugins-20d223119eb40bd1ecdd637eb845f5e16c87bd36.tar.gz
check_ntp.pl: Using FindBin
-rwxr-xr-xplugins-scripts/check_ntp.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index 13da939..dd2cd6d 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -61,7 +61,8 @@ use POSIX;
61use strict; 61use strict;
62use Getopt::Long; 62use Getopt::Long;
63use vars qw($opt_V $opt_h $opt_H $opt_t $opt_w $opt_c $opt_O $opt_j $opt_k $verbose $PROGNAME $def_jitter $ipv4 $ipv6); 63use vars qw($opt_V $opt_h $opt_H $opt_t $opt_w $opt_c $opt_O $opt_j $opt_k $verbose $PROGNAME $def_jitter $ipv4 $ipv6);
64use lib utils.pm; 64use FindBin;
65use lib "$FindBin::Bin";
65use utils qw($TIMEOUT %ERRORS &print_revision &support); 66use utils qw($TIMEOUT %ERRORS &print_revision &support);
66 67
67$PROGNAME="check_ntp"; 68$PROGNAME="check_ntp";