Skip to content

Conversation

@moseshll
Copy link
Contributor

@moseshll moseshll commented Jul 14, 2025

  • Suppress spurious warning caused by grep exit status being 0 or 1 on success.
  • Real grep errors are 2 and up, according to the man page.
  • Discontinue use of Process:Exitstatus#success? and do a numeric comparison.

- Suppress spurious warning caused by `grep` exit status being 1.
- Real `grep` errors are 2 and up, according to the man page.
@moseshll moseshll requested a review from mwarin July 14, 2025 15:21
Copy link
Contributor

@mwarin mwarin left a comment

Choose a reason for hiding this comment

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

Oh, what a nasty little surprise -- that you can't rely on Process:Exitstatus#success? here. But in light of that, the changes make sense

Approve.

@moseshll moseshll marked this pull request as ready for review July 14, 2025 16:11
@moseshll moseshll merged commit 5a3973b into main Jul 14, 2025
1 check passed
@moseshll moseshll deleted the ETT-407_fix_verifier_grep branch July 14, 2025 16:11
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.

3 participants