Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix useradd checks #7

Merged
merged 1 commit into from Dec 20, 2016
Merged

Conversation

piotr1212
Copy link
Contributor

ARGV wasn't processed correctly by GetOptions, switched to GetOptionsFromArray
:config gnu_getopts sets ignore_case which did would match the -d (homedir) option to -D (default)

This fixes false UseraddNoHomedir and UseraddNoShell as reported here: https://taskotron.fedoraproject.org/artifacts/all/c1ed11d4-a60e-11e6-be4f-525400120b80/task_output/rpmgrill.json

  ARGV wasn't processed correctly by GetOptions, switched to
  GetOptionsFromArray

  :config gnu_getopts sets ignore_case which did would match the
  -d (homedir) option to -D (default)
@romanofski
Copy link
Member

Many, many thanks for this. You sir just saved me quite a few hours of crawling through the code. The project is currently missing a lot of maintenance and this patch means that I can focus on other parts which need fixing.

PS: I've hooked rpmgrill now into Travis CI. Once that's in I'll rebase and merge your request.

Again, thanks a lot!!

@romanofski romanofski merged commit f532d9b into default-to-open:master Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants