aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/c/quikr_train.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c/quikr_train.c b/src/c/quikr_train.c
index 344f926..6eabd4f 100644
--- a/src/c/quikr_train.c
+++ b/src/c/quikr_train.c
@@ -134,6 +134,7 @@ int main(int argc, char **argv) {
unsigned long long sequences = count_sequences(fasta_filename);
if(sequences == 0) {
fprintf(stderr, "Error: %s contains 0 fasta sequences\n", fasta_filename);
+ exit(EXIT_FAILURE);
}
if(verbose) {