Skip to content
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

Added pipefail to all scripts #103

Merged

Conversation

byrnedo
Copy link

@byrnedo byrnedo commented Jul 27, 2018

Relating to #86

@iloveitaly
Copy link
Collaborator

@byrnedo what problem does this fix?

@byrnedo
Copy link
Author

byrnedo commented Aug 2, 2021

It prevents errors in a pipeline from being masked. If any command in a pipeline fails, that return code will be used as the return code of the whole pipeline. By default, the pipeline's return code is that of the last command even if it succeeds.

@iloveitaly iloveitaly merged commit b6cc872 into schickling:master Aug 2, 2021
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