Make fiche_run's return value the exit code - fiche - A pastebin adjusted for gopher use
(HTM) git clone git://vernunftzentrum.de/fiche.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit ee48d3e30c29361557beffbd4a18b889685a679d
(DIR) parent e4daa5f172e6be6e9f88a74fcd3bce30187d558d
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Fri, 2 Mar 2018 20:45:10 +0100
Make fiche_run's return value the exit code
Without this patch returning with an error from fiche_run() is
ineffective.
Diffstat:
main.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
(DIR) diff --git a/main.c b/main.c
@@ -130,11 +130,7 @@ int main(int argc, char **argv) {
}
}
-
- fiche_run(fs);
-
-
- return 0;
+ return fiche_run(fs);
}