lh3 / seqtk

Toolkit for processing sequences in FASTA/Q formats
MIT License
1.37k stars 308 forks source link

return exit code from called function #102

Closed a1an77 closed 6 years ago

a1an77 commented 6 years ago

When the command is called from a script and the internal function produces an error, its return code is not propagated to the caller. This pull request solves the problem

lh3 commented 6 years ago

Thanks. I have effectively implemented the same way via ef7157c6.