diff options
Diffstat (limited to 'plugins-scripts/check_mailq.pl')
-rwxr-xr-x | plugins-scripts/check_mailq.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl index 417c4bf7..32f498d3 100755 --- a/plugins-scripts/check_mailq.pl +++ b/plugins-scripts/check_mailq.pl | |||
@@ -33,7 +33,6 @@ use vars qw($opt_V $opt_h $opt_v $verbose $PROGNAME $opt_w $opt_c $opt_t $opt_s | |||
33 | %srcdomains %dstdomains); | 33 | %srcdomains %dstdomains); |
34 | use FindBin; | 34 | use FindBin; |
35 | use lib "$FindBin::Bin"; | 35 | use lib "$FindBin::Bin"; |
36 | use lib '@libexecdir@'; | ||
37 | use utils qw(%ERRORS &print_revision &support &usage ); | 36 | use utils qw(%ERRORS &print_revision &support &usage ); |
38 | 37 | ||
39 | my ($sudo); | 38 | my ($sudo); |
@@ -574,12 +573,12 @@ sub process_arguments(){ | |||
574 | 573 | ||
575 | if ($opt_V) { | 574 | if ($opt_V) { |
576 | print_revision($PROGNAME,'@NP_VERSION@'); | 575 | print_revision($PROGNAME,'@NP_VERSION@'); |
577 | exit $ERRORS{'OK'}; | 576 | exit $ERRORS{'UNKNOWN'}; |
578 | } | 577 | } |
579 | 578 | ||
580 | if ($opt_h) { | 579 | if ($opt_h) { |
581 | print_help(); | 580 | print_help(); |
582 | exit $ERRORS{'OK'}; | 581 | exit $ERRORS{'UNKNOWN'}; |
583 | } | 582 | } |
584 | 583 | ||
585 | if (defined $opt_v ){ | 584 | if (defined $opt_v ){ |