fix return value from main() when run with -h/-v
This commit is contained in:
parent
a79b67c726
commit
5fbe77bb76
@ -1 +1 @@
|
||||
Subproject commit 9d38f712c153727dbb895673d6d9841be57c12c9
|
||||
Subproject commit b7a683ef6b4ac653ab46517341f626c84c66dffa
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user