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

shellvar crashes #39

Open
jeannegreulich opened this issue Mar 8, 2021 · 0 comments
Open

shellvar crashes #39

jeannegreulich opened this issue Mar 8, 2021 · 0 comments

Comments

@jeannegreulich
Copy link
Contributor

jeannegreulich commented Mar 8, 2021

Shellvar crashes when trying to create a new variable line and a comment for it exists that has no value.
I am tring to update the value for CRYPTO_POLICY in /etc/sysconfig/sshd that is installed with EL8. It has
the line
"# CRYPTO_POLICY="

And when the provider reads in the comment it crashes because it tries to do a split on the value and the value =nil.
There does not seem to be a way to skip the reading of the comment.

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

No branches or pull requests

1 participant