Exit if right most command fails in pipe

This commit is contained in:
Rishi
2019-01-23 22:46:05 +05:30
committed by GitHub
parent acd100b124
commit d1a2e17253
+2
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env sh
set -e
set -o pipefail
DOCKER_SOCK=${DOCKER_SOCK:-/var/run/docker.sock}
CURL_TIMEOUT=${CURL_TIMEOUT:-30}