Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

get output of command to output correct error code #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeffreyfuchang
Copy link

No description provided.

exit_code = wait_thr.value.exitstatus
puts resp
puts err unless err.nil?
true unless resp.downcase.include?("error") || exist_code != 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exist_code should be exit_code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants