From ea93f8126fd9bccea7655894de7d203875ce99da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gar=C3=B0ar=20=C3=9Eorsteinsson?= Date: Fri, 11 Sep 2020 11:09:40 +0000 Subject: [PATCH] Fix masking of exit code --- check_service.sh/check_service.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/check_service.sh/check_service.sh b/check_service.sh/check_service.sh index 8be80c6..e028194 100644 --- a/check_service.sh/check_service.sh +++ b/check_service.sh/check_service.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -o pipefail # Author: Jon Schipp # 2015-03-09 [Pascal Hegy] - Add sudo for linux