Skip to content

Commit ed2b6e9

Browse files
authored
Fix script not catching exit code (#29)
1 parent bbdd400 commit ed2b6e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entrypoint.sh

+4
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ shopt -s globstar
2727

2828
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}
2929

30+
exitcode=$?
31+
3032
shopt -u globstar
33+
34+
exit $exitcode

0 commit comments

Comments
 (0)