Skip to content

Commit

Permalink
Merge pull request #15 from pengzhisun/master
Browse files Browse the repository at this point in the history
build.make: Replace 'return' to 'exit' to fix shellcheck error
  • Loading branch information
k8s-ci-robot authored Apr 11, 2019
2 parents c60f382 + ff9bce4 commit 0c2677e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.make
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0c2677e

Please sign in to comment.