diff --git a/ffserver.c b/ffserver.c index c397d4b0de..f8ccfcb077 100644 --- a/ffserver.c +++ b/ffserver.c @@ -4443,7 +4443,7 @@ int main(int argc, char **argv) case '?': case 'h': show_help(); - exit(1); + exit(0); case 'n': no_launch = 1; break;