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

server: check SHELL if (and only if) neither --sh nor --csh is specified #661

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

alanc
Copy link
Contributor

@alanc alanc commented Oct 11, 2024

The previous check was checking if the enums returned by getopt were non-zero, which they always are, regardless of whether the option has been specified or not.

Fixes: e7d1c91 ("server: Check SHELL only when neither --sh nor --csh is specified") from #438

The previous check was checking if the enums returned by getopt were
non-zero, which they always are, regardless of whether the option has
been specified or not.

Fixes: e7d1c91 ("server: Check SHELL only when neither --sh nor --csh is specified")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Copy link
Member

@ueno ueno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@coveralls
Copy link

Coverage Status

coverage: 69.533% (-0.007%) from 69.54%
when pulling 31ce070 on alanc:shell
into a8b9464 on p11-glue:master.

@ueno ueno merged commit fa9ec0e into p11-glue:master Oct 13, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants