fix return value from main() when run with -h/-v

This commit is contained in:
Christian Grothoff 2020-11-06 10:11:15 +01:00
parent a79b67c726
commit 5fbe77bb76
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 7 additions and 5 deletions

@ -1 +1 @@
Subproject commit 9d38f712c153727dbb895673d6d9841be57c12c9
Subproject commit b7a683ef6b4ac653ab46517341f626c84c66dffa

View File

@ -1302,11 +1302,13 @@ main (int argc,
int fh = -1;
enum TALER_MHD_GlobalOptions go;
if (0 >=
GNUNET_GETOPT_run ("taler-exchange-httpd",
options,
argc, argv))
ret = GNUNET_GETOPT_run ("taler-exchange-httpd",
options,
argc, argv);
if (ret < 0)
return 1;
if (0 == ret)
return 0;
if (0 == num_threads)
{
cpu_set_t mask;