From b4e9831da366b6d366b49dcaaf17e986093c6d13 Mon Sep 17 00:00:00 2001 From: 4s3ti <4s3ti@protonmail.com> Date: Wed, 3 Nov 2021 01:41:18 +0100 Subject: [PATCH] Pipe find to xargs shellchek job not exiting with propper error code due to find -exec exit code be always 0. Piping find to xargs instead to get propper exit codes from shellcheck --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 16da8a2..27e7159 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ jobs: dist: linux script: - shellcheck auto_install/install.sh - - find scripts/ -type f -exec shellcheck {} \; + - find scripts/ -type f | xargs shellcheck - stage: test name: "OpenVPN Xenial & Commands"