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

Make the exec backend return proper exitstatus. #262

merged 1 commit into from Oct 8, 2013


None yet
2 participants
Copy link

ryotarai commented Oct 8, 2013

Before this pull request, Serverspec::Backend::Exec#run_command returns $? as exit status.
$? is an instance of Process::Status.

If $? is compared with an interger, $?.to_i will be compared with the value.
Process::Status#to_i doesn't return exit status but returns the bits in the status as Fixnum.


mizzy added a commit that referenced this pull request Oct 8, 2013

Merge pull request #262 from ryotarai/exec-backend-exitstatus
Make the exec backend return proper exitstatus.

@mizzy mizzy merged commit 61465cb into mizzy:master Oct 8, 2013

1 check failed

default The Travis CI build could not complete due to an error

This comment has been minimized.

Copy link

mizzy commented Oct 8, 2013


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment