Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Fix shell script exit codes #3329

Merged
merged 1 commit into from
Jun 10, 2019
Merged

[CI] Fix shell script exit codes #3329

merged 1 commit into from
Jun 10, 2019

Conversation

mshawcroft
Copy link
Contributor

The exist code of a posix compilant shell is 0..255. Attempting to
return -1 will error in some shells and implicitly cast to 255 in
others. Fix it by returning a legal return value.

The exist code of a posix compilant shell is 0..255.  Attempting to
return -1 will error in some shells and implicitly cast to 255 in
others.  Fix it by returning a legal return value.
@tqchen tqchen mentioned this pull request Jun 10, 2019
@tqchen tqchen merged commit ce90f0d into apache:master Jun 10, 2019
@mshawcroft mshawcroft deleted the ci-3 branch June 11, 2019 08:17
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
The exist code of a posix compilant shell is 0..255.  Attempting to
return -1 will error in some shells and implicitly cast to 255 in
others.  Fix it by returning a legal return value.
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
The exist code of a posix compilant shell is 0..255.  Attempting to
return -1 will error in some shells and implicitly cast to 255 in
others.  Fix it by returning a legal return value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants