Skip to content

Commit

Permalink
Mark failed task collections with exit code 70 (EX_SOFTWARE)
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed May 17, 2018
1 parent 9b75ca2 commit 9afcfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc3libs/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ def terminated(self):
self.execution.returncode = (0, 0)
for task in self.tasks:
if task.execution.returncode != 0:
self.execution.exitcode = 1
self.execution.exitcode = os.EX_SOFTWARE


def update_state(self, **extra_args):
Expand Down

0 comments on commit 9afcfa1

Please sign in to comment.