asdf-community / asdf-racket

Racket plugin for the asdf version manager
https://github.com/asdf-vm/asdf
Apache License 2.0
12 stars 6 forks source link

fix: `exit 1` properly exits #6

Closed hyperupcall closed 1 year ago

hyperupcall commented 1 year ago

In this case, there is no difference because the the script currently exists with the exit code of the subshell - 1.

But later, code may be added - in which case, the exit 1 has no effect (because it is in a subshell). And set -e isn't set for the script as a whole.