Skip to content

Commit ff9bce4

Browse files
committed
Replace 'return' to 'exit' to fix shellcheck error
1 parent c60f382 commit ff9bce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.make

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ test-shellcheck:
143143
@ ret=0; \
144144
if ! command -v docker; then \
145145
echo "skipped, no Docker"; \
146-
return 0; \
146+
exit 0; \
147147
fi; \
148148
for dir in $(abspath $(TEST_SHELLCHECK_DIRS)); do \
149149
echo; \
150150
echo "$$dir:"; \
151151
./release-tools/verify-shellcheck.sh "$$dir" || ret=1; \
152152
done; \
153-
return $$ret
153+
exit $$ret

0 commit comments

Comments
 (0)