diff --git a/sambamba/flagstat.d b/sambamba/flagstat.d index ec6d81a0..7cdeb8f3 100644 --- a/sambamba/flagstat.d +++ b/sambamba/flagstat.d @@ -134,6 +134,7 @@ int flagstat_main(string[] args) { } } catch (Throwable e) { stderr.writeln(e.msg); + return 1; } return 0; }