Skip to content

Commit

Permalink
Fix script not catching exit code (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibiqlik committed Aug 19, 2021
1 parent bbdd400 commit ed2b6e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ shopt -s globstar

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

exitcode=$?

shopt -u globstar

exit $exitcode

0 comments on commit ed2b6e9

Please sign in to comment.