summaryrefslogtreecommitdiff
path: root/src/hoofd.c
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-08-04 15:12:51 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-08-04 15:12:51 +0200
commit091cc88ee3ee9483bc1858bb4ff59da674fe69e6 (patch)
treebb438c17b43e6a7abd3cbdbb815d7cb7370d51a2 /src/hoofd.c
parentd8b7e45a5900f677fb6ef19a5eb51855071520aa (diff)
don't quit early when encountering mapje
Diffstat (limited to 'src/hoofd.c')
-rw-r--r--src/hoofd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hoofd.c b/src/hoofd.c
index 0eac51d..c02d166 100644
--- a/src/hoofd.c
+++ b/src/hoofd.c
@@ -101,7 +101,7 @@ err_file:
err_isdir:
fprintf(stderr, "hoofd: bestand '%s' is een mapje\n", arg);
- return 1;
+ return -1;
}
int entry_hoofd(int argc, char **argv) {