Skip to content

exit $? in entrypoint.sh is misleading #5

Closed
@yuantailing

Description

@yuantailing

# Run it.
.github/run-tests.sh
# Preserve the exit-code
exit $?

exit $? in entrypoint.sh is useless since set -e.

If run-tests.sh fails, the bash quits and exit $? will not be executed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions