From 719b51b65df263dbd41bc1adc9eccfdf07bcda46 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Apr 2016 19:49:53 +0200 Subject: fix config parsing for dbinit tool --- src/exchange/taler-exchange-httpd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exchange/taler-exchange-httpd.c') diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index a8e9b3b08..a533a973d 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -648,6 +648,8 @@ main (int argc, options, argc, argv)) return 1; + if (NULL == cfgfile) + cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file); cfg = GNUNET_CONFIGURATION_create (); if (GNUNET_SYSERR == GNUNET_CONFIGURATION_load (cfg, cfgfile)) { -- cgit v1.2.3