Make fiche_run's return value the exit code - fiche - A pastebin adjusted for g… | |
git clone git://vernunftzentrum.de/fiche.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit ee48d3e30c29361557beffbd4a18b889685a679d | |
parent e4daa5f172e6be6e9f88a74fcd3bce30187d558d | |
Author: Christian Kellermann <[email protected]> | |
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(-) | |
--- | |
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); | |
} | |