Skip to content

Commit

Permalink
Replace 'return' to 'exit' to fix shellcheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhisun committed Apr 11, 2019
1 parent c60f382 commit ff9bce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.make
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 ff9bce4

Please sign in to comment.