Skip to content

Commit

Permalink
Only return 1 on error, otherwise return 0 (issue marbl#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Nov 6, 2019
1 parent 0375de8 commit a2a82bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pipelines/canu/Defaults.pm
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,10 @@ sub printHelp (@) {
if (defined($global{'errors'})) {
print "$global{'errors'}";
print "\n";
}

exit(1);
exit(1);
} else {
exit(0);
}
}


Expand Down

0 comments on commit a2a82bd

Please sign in to comment.