Bug 612 - -q flag for quiet mode still prints some output
-q flag for quiet mode still prints some output
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Visudo
1.8.7
PC Other
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-26 14:00 MDT by Stephen Gelman
Modified: 2013-09-30 09:32 MDT (History)
0 users

See Also:


Attachments
Patch to fix problem (669 bytes, patch)
2013-08-26 14:00 MDT, Stephen Gelman
Details | Diff
The correct patch (669 bytes, patch)
2013-08-26 14:03 MDT, Stephen Gelman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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