Merge pull request #15 from pengzhisun/master

build.make: Replace 'return' to 'exit' to fix shellcheck error
This commit is contained in:
Kubernetes Prow Robot 2019-04-11 03:04:14 -07:00 committed by GitHub
commit 0c2677e8fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -143,11 +143,11 @@ test-shellcheck:
@ ret=0; \
if ! command -v docker; then \
echo "skipped, no Docker"; \
return 0; \
exit 0; \
fi; \
for dir in $(abspath $(TEST_SHELLCHECK_DIRS)); do \
echo; \
echo "$$dir:"; \
./release-tools/verify-shellcheck.sh "$$dir" || ret=1; \
done; \
return $$ret
exit $$ret