aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/taler-fakebank-run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bank-lib/taler-fakebank-run.c')
-rw-r--r--src/bank-lib/taler-fakebank-run.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/bank-lib/taler-fakebank-run.c b/src/bank-lib/taler-fakebank-run.c
index 866d35111..4e3706071 100644
--- a/src/bank-lib/taler-fakebank-run.c
+++ b/src/bank-lib/taler-fakebank-run.c
@@ -185,14 +185,17 @@ main (int argc,
&num_threads),
GNUNET_GETOPT_OPTION_END
};
-
- if (GNUNET_OK !=
- GNUNET_PROGRAM_run (argc, argv,
- "taler-fakebank-run",
- "Runs the fakebank",
- options,
- &run,
- NULL))
+ enum GNUNET_GenericReturnValue iret;
+
+ iret = GNUNET_PROGRAM_run (argc, argv,
+ "taler-fakebank-run",
+ "Runs the fakebank",
+ options,
+ &run,
+ NULL);
+ if (GNUNET_SYSERR == iret)
return EXIT_INVALIDARGUMENT;
+ if (GNUNET_NO == iret)
+ return EXIT_SUCCESS;
return ret;
}