set -o pipefail -o errexit
Not pipefail as such, but Bash's error handling semantics (or lack there of) is pretty lame.