summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_mailq.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_mailq.pl')
-rwxr-xr-xplugins-scripts/check_mailq.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl
index 417c4bf..32f498d 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);
34use FindBin; 34use FindBin;
35use lib "$FindBin::Bin"; 35use lib "$FindBin::Bin";
36use lib '@libexecdir@';
37use utils qw(%ERRORS &print_revision &support &usage ); 36use utils qw(%ERRORS &print_revision &support &usage );
38 37
39my ($sudo); 38my ($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 ){