New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For all installation scripts, exit immediately if a command exits with a non-zero status #25
Labels
Comments
Today I learned about My only concern about making this change right away is that there seem to be some edge cases that I haven't thought through yet. |
welcome :)
|
donnemartin
changed the title
for all installation scripts, exit immediately if a command exits with a non-zero status
For all installation scripts, exit immediately if a command exits with a non-zero status
Jun 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's important for a script to exit immediately if a command exits with a non-zero status,
otherwise results are unpredictable.
this can be achieved by adding
set -e
at the beginning of all bash scriptsThe text was updated successfully, but these errors were encountered: