Skip to content

Commit 0c2677e

Browse files
authored
Merge pull request kubernetes-csi#15 from pengzhisun/master
build.make: Replace 'return' to 'exit' to fix shellcheck error
2 parents c60f382 + ff9bce4 commit 0c2677e

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)