check_ntp.pl: Using FindBin

This commit is contained in:
Jan Wagner 2015-10-04 18:38:25 +02:00
parent 2f5d0b105c
commit 20d223119e

View file

@ -61,7 +61,8 @@ use POSIX;
use strict;
use Getopt::Long;
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);
use lib utils.pm;
use FindBin;
use lib "$FindBin::Bin";
use utils qw($TIMEOUT %ERRORS &print_revision &support);
$PROGNAME="check_ntp";