diff options
author | Oskar <[email protected]> | 2024-03-07 21:41:07 +0100 |
---|---|---|
committer | Oskar <[email protected]> | 2024-03-07 21:41:07 +0100 |
commit | 256bf3acc9c21c55c955824f1a00bc7cba6b85a8 (patch) | |
tree | 1a7697a839ded229057c2e94762d8b12a2ec9b1a /startmode.c | |
parent | 1f71f8a1e0b17260e746e86aa8b3cb3dbe42771c (diff) |
improved 7ed.c to make using the current flags a little smarter
Diffstat (limited to 'startmode.c')
-rw-r--r-- | startmode.c | 2 |
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); |