bank flush db command also needed -c option
This commit is contained in:
parent
8ebfd1f643
commit
6bb2631ab4
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user