Skip to content

Conversation

@emilylange
Copy link
Member

@emilylange emilylange commented Nov 14, 2025

run() returns the exit code, but a successful exit is 0 (falsy), causing the or die to always invoke.

My bad, this slipped through my testing.

Ref: #101 (b4fca4f)

Let's hope this is the last time I have to touch this script this year 🫣

cc @mweinelt

PS: I still do not like Perl

run() returns the exit code, but a successful exit is 0 (falsy), causing
the `or die` to always invoke.

My bad, this slipped through my testing.

Ref: b4fca4f
@mweinelt mweinelt added this pull request to the merge queue Nov 14, 2025
Merged via the queue into NixOS:master with commit fb6fb2b Nov 14, 2025
1 check passed
@emilylange emilylange deleted the fix-typo branch November 14, 2025 16:32
@vcunat
Copy link
Member

vcunat commented Nov 14, 2025

Let's hope 😅

run() or die is a cool pattern, though.

@mweinelt
Copy link
Member

Yeah, would be great to update the semantics!

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