Red Hat Bugzilla – Bug 619150
faillog executes during argument parsing
Last modified: 2012-11-06 09:35:13 EST
Description of problem:
faillog executes options as they are parsed rather than once they have all been gathered
faillog -r -u 1234
will reset the fail counter for all users rather than just the named user, whereas
faillog -u 1234 -r
will reset for just the one user.
Upstream code has rework the code to put the execution of function after the parsing of arguments has completed.
Version-Release number of selected component (if applicable):
Created attachment 435089 [details]
patch to place execution after argument parsing
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.