From 7ba67d50f3e23106f3aa244ec02b91c4ffe50bcd Mon Sep 17 00:00:00 2001 From: Ilir Bekteshi Date: Thu, 7 Oct 2021 09:27:03 +0200 Subject: [PATCH] Catch exit code from pipe --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index ef8a894..caec456 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,6 @@ #!/bin/bash -l # shellcheck disable=SC2086 +set -o pipefail echo "======================" echo "= Linting YAML files ="