Catch exit code from pipe

This commit is contained in:
Ilir Bekteshi 2021-10-07 09:27:03 +02:00
parent e2dcb8c42f
commit 7ba67d50f3

View file

@ -1,5 +1,6 @@
#!/bin/bash -l
# shellcheck disable=SC2086
set -o pipefail
echo "======================"
echo "= Linting YAML files ="