diff options
Diffstat (limited to 'plugins-scripts/check_wave.pl')
-rwxr-xr-x | plugins-scripts/check_wave.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_wave.pl b/plugins-scripts/check_wave.pl index ee0fda4..41e15f5 100755 --- a/plugins-scripts/check_wave.pl +++ b/plugins-scripts/check_wave.pl | |||
@@ -5,7 +5,6 @@ | |||
5 | use strict; | 5 | use strict; |
6 | use FindBin; | 6 | use FindBin; |
7 | use lib "$FindBin::Bin"; | 7 | use lib "$FindBin::Bin"; |
8 | use lib '@libexecdir@'; | ||
9 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 8 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
10 | use vars qw($PROGNAME); | 9 | use vars qw($PROGNAME); |
11 | use Getopt::Long; | 10 | use Getopt::Long; |
@@ -32,12 +31,12 @@ GetOptions | |||
32 | 31 | ||
33 | if ($opt_V) { | 32 | if ($opt_V) { |
34 | print_revision($PROGNAME,'@NP_VERSION@'); #' | 33 | print_revision($PROGNAME,'@NP_VERSION@'); #' |
35 | exit $ERRORS{'OK'}; | 34 | exit $ERRORS{'UNKNOWN'}; |
36 | } | 35 | } |
37 | 36 | ||
38 | if ($opt_h) { | 37 | if ($opt_h) { |
39 | print_help(); | 38 | print_help(); |
40 | exit $ERRORS{'OK'}; | 39 | exit $ERRORS{'UNKNOWN'}; |
41 | } | 40 | } |
42 | 41 | ||
43 | $opt_H = shift unless ($opt_H); | 42 | $opt_H = shift unless ($opt_H); |