Skip to content

test-rust-examples task: Exit with a fixed error#3404

Merged
badboy merged 1 commit intomainfrom
push-llovrzpsymtp
Feb 19, 2026
Merged

test-rust-examples task: Exit with a fixed error#3404
badboy merged 1 commit intomainfrom
push-llovrzpsymtp

Conversation

@badboy
Copy link
Member

@badboy badboy commented Feb 19, 2026

... || exit $? doesn't actually work as expected and the exit call will fail with:

numeric argument required

because $? is not yet set.

`... || exit $?` doesn't actually work as expected and the exit call
will fail with:

    numeric argument required

because $? is not yet set.
@badboy badboy requested a review from a team as a code owner February 19, 2026 16:17
@badboy badboy requested review from travis79 and removed request for a team February 19, 2026 16:17
Copy link
Member

@travis79 travis79 left a comment

Choose a reason for hiding this comment

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

I'm almost afraid to ask what undefined thing this was causing 😅

@badboy
Copy link
Member Author

badboy commented Feb 19, 2026

I'm almost afraid to ask what undefined thing this was causing 😅

nothing. exit "" exists with code 255. So it was still failing, just failing differently than expected.

@badboy badboy merged commit dc1a553 into main Feb 19, 2026
28 of 29 checks passed
@badboy badboy deleted the push-llovrzpsymtp branch February 19, 2026 16:39
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