Skip to content

Commit

Permalink
Return exit code 2 on failures
Browse files Browse the repository at this point in the history
  • Loading branch information
nohponex committed Feb 21, 2016
1 parent 0097530 commit b9f2527
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Binary.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ public function invoke()
if ($stats->error > 0) {
return 1;
}
if ($stats->failure > 0) {
return 2;
}

return 0;
}
Expand Down

0 comments on commit b9f2527

Please sign in to comment.