Stop warning when return code != 0 or 1 (#10486)
Stop warning when return code != 0 or 1 (#10486)

This was noisy. Many tools like Flake8 frequently use return codes other than 1.

[ci skip-rust]
[ci skip-build-wheels]
benjyw/pants,pantsbuild/pants,pantsbuild/pants,benjyw/pants,jsirois/pants,benjyw/pants,benjyw/pants,benjyw/pants,benjyw/pants,pantsbuild/pants,benjyw/pants,jsirois/pants,pantsbuild/pants,jsirois/pants,pantsbuild/pants,pantsbuild/pants,pantsbuild/pants