Skip to content

shellvar crashes #39

@jeannegreulich

Description

@jeannegreulich

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions