Skip to content

Commit

Permalink
Merge pull request #17 from deoren/enable-pipefail-flag
Browse files Browse the repository at this point in the history
Enable pipefail flag
  • Loading branch information
deoren authored Jan 28, 2018
2 parents 25e0bcd + 1095c3e commit bdb5bd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions email_updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ set -u
# Exit if any statement returns a non-true value
set -e

# Exit if ANY command in a pipeline fails instead of allowing the exit code
# of later commands in the pipeline to determine overall success
set -o pipefail



# Official project URL: https://github.com/WhyAskWhy/email-updates


Expand Down

0 comments on commit bdb5bd4

Please sign in to comment.