diff --git a/src/ccextractor.c b/src/ccextractor.c index 0865b4d6..b01aaefb 100644 --- a/src/ccextractor.c +++ b/src/ccextractor.c @@ -498,5 +498,5 @@ int main(int argc, char* argv[]){ int compile_ret = compile_params(api_options,argc); int start_ret = api_start(*api_options); - return 1; + return start_ret ? EXIT_OK : EXIT_NO_CAPTIONS; }