Skip to content

Commit

Permalink
Merge pull request #1410 from jccomputing/fixes
Browse files Browse the repository at this point in the history
return_code value is always 0
  • Loading branch information
naparuba committed Jan 12, 2015
2 parents 3890efd + 56a0eb2 commit 343943b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shinken/objects/schedulingitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,9 @@ def consume_result(self, c):

self.set_state_from_exit_status(c.exit_status)

# Set return_code to exit_status to fill the value in broks
self.return_code = c.exit_status

# we change the state, do whatever we are or not in
# an impact mode, we can put it
self.state_changed_since_impact = True
Expand Down

0 comments on commit 343943b

Please sign in to comment.