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

main: Ignore SIGPIPE when printing version #3203

Merged
merged 1 commit into from
Feb 27, 2024

Commits on Feb 27, 2024

  1. main: Ignore SIGPIPE when printing version

    In order to do a runtime feature check, `ostree --version` can be piped
    to `grep` or similar. However, if the read end of the pipe doesn't read
    all of the output, `ostree` will receive `SIGPIPE` when trying to write
    output. Ignore it so that `ostree` still exits successfully in that
    case.
    dbnicholson committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    422a288 View commit details
    Browse the repository at this point in the history