mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
Merge pull request #25 from rishiloyola/master
Exit if right most command fails in pipe
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user