summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_registry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index d12e5879a5..44ebef5bf2 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -1301,6 +1301,8 @@ static int net_registry_import(struct net_context *c, int argc,
goto done;
}
+ SMB_ASSERT(ret == 0);
+
werr = regdb_transaction_commit();
if (!W_ERROR_IS_OK(werr)) {
d_printf("Failed to commit transaction on regdb: %s\n",