aboutsummaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index e2e00c2..a8451e6 100644
--- a/match.c
+++ b/match.c
@@ -518,7 +518,7 @@ static match_t *match(def_t *defs, file_t *f, const char *str, pat_t *pat, bool
}
default: {
fprintf(stderr, "Unknown pattern type: %d", pat->type);
- exit(1);
+ exit(EXIT_FAILURE);
return NULL;
}
}