Commit ff9bce4a by Pengzhi Sun

Replace 'return' to 'exit' to fix shellcheck error

parent c60f3823
...@@ -143,11 +143,11 @@ test-shellcheck: ...@@ -143,11 +143,11 @@ test-shellcheck:
@ ret=0; \ @ ret=0; \
if ! command -v docker; then \ if ! command -v docker; then \
echo "skipped, no Docker"; \ echo "skipped, no Docker"; \
return 0; \ exit 0; \
fi; \ fi; \
for dir in $(abspath $(TEST_SHELLCHECK_DIRS)); do \ for dir in $(abspath $(TEST_SHELLCHECK_DIRS)); do \
echo; \ echo; \
echo "$$dir:"; \ echo "$$dir:"; \
./release-tools/verify-shellcheck.sh "$$dir" || ret=1; \ ./release-tools/verify-shellcheck.sh "$$dir" || ret=1; \
done; \ done; \
return $$ret exit $$ret
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment