Skip to content

Conversation

ffontaine
Copy link
Contributor

Catch UnicodeDecodeError when calling read_text() to avoid a crash when parsing /usr/share/man/man7/systemd.environment-generator.7.gz

Catch UnicodeDecodeError when calling read_text() to avoid a crash when
parsing /usr/share/man/man7/systemd.environment-generator.7.gz

Signed-off-by: Fabrice Fontaine <[email protected]>
Copy link
Contributor

@alex-ter alex-ter left a comment

Choose a reason for hiding this comment

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

LGTM by inspection.

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.

2 participants