Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information