8000 Print correct exit code after unsuccessful commands in cmd() by gregbo · Pull Request #35 · toreanderson/clatd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Print correct exit code after unsuccessful commands in cmd() #35

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

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

gregbo
Copy link
Contributor
@gregbo gregbo commented Nov 3, 2023

In order to capture the exit code from a system() call, right shift $? by eight bits.

Fixes #34

In order to capture the exit code from a system() call, right shift $? by eight bits.
@toreanderson toreanderson changed the title Update clatd Print correct exit code after unsuccessful commands in cmd() Nov 4, 2023
@toreanderson toreanderson merged commit e6e0f4e into toreanderson:master Nov 4, 2023
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.

clatd command exit code bug
2 participants
0