bank flush db command also needed -c option

This commit is contained in:
Marcello Stanisci 2017-05-24 14:57:33 +02:00
parent 8ebfd1f643
commit 6bb2631ab4
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -130,7 +130,7 @@ main (int argc,
if (NULL == (dbconn = getenv ("TALER_EXCHANGEDB_POSTGRES_CONFIG"))) if (NULL == (dbconn = getenv ("TALER_EXCHANGEDB_POSTGRES_CONFIG")))
dbconn = defaultdb; dbconn = defaultdb;
char *purgedb_cmd; char *purgedb_cmd;
GNUNET_asprintf (&purgedb_cmd, "taler-bank-manage --with-db=%s django flush --no-input", GNUNET_asprintf (&purgedb_cmd, "taler-bank-manage -c bank.conf --with-db=%s django flush --no-input",
dbconn); dbconn);
if (0 != system (purgedb_cmd)) if (0 != system (purgedb_cmd))
{ {