biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
558 stars 104 forks source link

return 1 on error #396

Closed joelmartin closed 5 years ago

joelmartin commented 5 years ago

flagstat is the only tool that isn't returning 1 when errors are encountered. This adds the return 1 to the catch block.

pjotrp commented 5 years ago

Thanks!