Bug 1348427

Summary: check-mailq: syntax error
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: nagios-pluginsAssignee: Nick Bebout <nb>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: kmf, mhayden, nb, ondrejj, swilkerson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-07 15:28:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan ONDREJ 2016-06-21 07:11:59 UTC
Description of problem:
There is an syntax error in Fedora 24 check_mailq nagios plugin.

Version-Release number of selected component (if applicable):
nagios-plugins-mailq-2.1.1-1.fc24.x86_64

How reproducible:
always

Steps to Reproduce:
1. /usr/lib64/nagios/plugins/check_mailq

Actual results:
syntax error at /usr/lib64/nagios/plugins/check_mailq line 40, near ")

sub print_help ()"
Execution of /usr/lib64/nagios/plugins/check_mailq aborted due to compilation errors.

Expected results:
Usage: check_mailq -w <warn> -c <crit> [-W <warn>] [-C <crit>] [-M <MTA>] [-t <timeout>] [-s] [-v]

Additional info:
A working version is available upstream, or you just need to add an ";" to my ($sudo) row:

-my ($sudo)
+my ($sudo);

Comment 1 Jan ONDREJ 2016-07-07 15:28:42 UTC
PING. Fix is easy. Why this is not fixed?

*** This bug has been marked as a duplicate of bug 1335245 ***