From 548613c617cc6da29093e617964016e30c66a11f Mon Sep 17 00:00:00 2001 From: Marco Boss Date: Wed, 2 Mar 2022 13:30:44 +0100 Subject: [PATCH] fix --- src/exchange-tools/taler-exchange-dbinit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c index 4afb5725c..69b9d1a16 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) {