summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Boss <bossm8@bfh.ch>2022-03-02 13:30:44 +0100
committerMarco Boss <bossm8@bfh.ch>2022-03-02 13:30:44 +0100
commit548613c617cc6da29093e617964016e30c66a11f (patch)
tree5273f63caf37b456d6e625ed6643f53e78a98f27
parent41a9a73eb85c726a0e38f89cd2ca86de8040e17c (diff)
downloadexchange-548613c617cc6da29093e617964016e30c66a11f.tar.gz
exchange-548613c617cc6da29093e617964016e30c66a11f.tar.bz2
exchange-548613c617cc6da29093e617964016e30c66a11f.zip
fix
-rw-r--r--src/exchange-tools/taler-exchange-dbinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c
index 4afb5725..69b9d1a1 100644
--- a/src/exchange-tools/taler-exchange-dbinit.c
+++ b/src/exchange-tools/taler-exchange-dbinit.c
@@ -107,11 +107,11 @@ run (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Could not drop tables after failed partitioning, please delete the DB manually\n");
}
+ TALER_EXCHANGEDB_plugin_unload (plugin);
+ plugin = NULL;
+ global_ret = EXIT_NOTINSTALLED;
+ return;
}
- TALER_EXCHANGEDB_plugin_unload (plugin);
- plugin = NULL;
- global_ret = EXIT_NOTINSTALLED;
- return;
}
if (gc_db || clear_shards)
{