Bug 612

Summary: -q flag for quiet mode still prints some output
Product: Sudo Reporter: Stephen Gelman <ssgelm>
Component: VisudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.8.7   
Hardware: PC   
OS: Other   
Attachments: Patch to fix problem
The correct patch

Description Stephen Gelman 2013-08-26 14:00:37 MDT
Created attachment 375 [details]
Patch to fix problem

As of commit b2d6ee1e547a, "visudo -c -q" prints "parsed OK" for each file that it checks.  This is annoying because it causes some scripts written assuming no output with the -q flag to print output.  This can be fixed with the attached patch.
Comment 1 Stephen Gelman 2013-08-26 14:03:26 MDT
Created attachment 376 [details]
The correct patch

Oops, wrong variable name for the first patch.  Correct version attached.
Comment 2 Todd C. Miller 2013-08-26 14:55:25 MDT
Thanks, this will be fixed in sudo 1.8.8.  The fix is present in the second beta release of sudo 1.8.8, available now.
Comment 3 Todd C. Miller 2013-09-30 09:32:08 MDT
Fixed in sudo 1.8.8