diff options
author | Jan Wagner <waja@cyconet.org> | 2015-10-04 18:38:25 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2015-10-04 18:38:25 +0200 |
commit | 20d223119eb40bd1ecdd637eb845f5e16c87bd36 (patch) | |
tree | 5da35a4ab336514116c36165030f2f1e6c6fd44b | |
parent | 2f5d0b105cb985ee22bce9a401d7b685e82d4458 (diff) | |
download | monitoring-plugins-20d223119eb40bd1ecdd637eb845f5e16c87bd36.tar.gz |
check_ntp.pl: Using FindBin
-rwxr-xr-x | plugins-scripts/check_ntp.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index 13da939c..dd2cd6dc 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl | |||
@@ -61,7 +61,8 @@ use POSIX; | |||
61 | use strict; | 61 | use strict; |
62 | use Getopt::Long; | 62 | use Getopt::Long; |
63 | use 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); | 63 | use 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); |
64 | use lib utils.pm; | 64 | use FindBin; |
65 | use lib "$FindBin::Bin"; | ||
65 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 66 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
66 | 67 | ||
67 | $PROGNAME="check_ntp"; | 68 | $PROGNAME="check_ntp"; |