summaryrefslogtreecommitdiff
path: root/startmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'startmode.c')
-rw-r--r--startmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/startmode.c b/startmode.c
index 0ad7155..8b89b93 100644
--- a/startmode.c
+++ b/startmode.c
@@ -30,7 +30,7 @@ int startmode(char filename[]) {
uint64_t Flines;
int returnval = count_lines_in_file(filename, &Flines);
if (returnval == 1) {
- return EXIT_FAILURE;
+ return 1;
}
fprintf(stdout,"%s %lu lines\n", filename, Flines);