aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-21 15:15:30 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-21 15:15:30 +0200
commitff96695e47388e89c11966a65e27044a141692e8 (patch)
tree1eb06eace14e3dfbb0816a14de31bd080032c2a4 /src/benchmark
parent281c5e3879f4ff1730f34ea40d5f80342cfffb2c (diff)
benchmark: don't crash on --help
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index c49255460..29c3fd760 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -849,13 +849,12 @@ main (int argc,
unsetenv ("XDG_DATA_HOME");
unsetenv ("XDG_CONFIG_HOME");
- if (GNUNET_SYSERR ==
+ if (0 >=
(result = GNUNET_GETOPT_run ("taler-exchange-benchmark",
options,
argc,
argv)))
{
- TALER_LOG_ERROR ("Unparsable CLI options\n");
return BAD_CLI_ARG;
}
GNUNET_log_setup ("taler-exchange-benchmark",