Skip to content

fix exit status#3

Open
mauke wants to merge 1 commit intoeisuke:masterfrom
mauke:patch-1
Open

fix exit status#3
mauke wants to merge 1 commit intoeisuke:masterfrom
mauke:patch-1

Conversation

@mauke
Copy link

@mauke mauke commented Nov 23, 2023

exit has higher precedence than ?:, so exit $connected ? 1 : 0 parses as (exit $connected) ? 1 : 0, which is not what was intended.

`exit` has higher precedence than `?:`, so `exit $connected ? 1 : 0` parses as `(exit $connected) ? 1 : 0`, which is not what was intended.
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.

1 participant