diff options
-rw-r--r-- | source3/utils/net_registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c index 5d93a71390..803e12181b 100644 --- a/source3/utils/net_registry.c +++ b/source3/utils/net_registry.c @@ -1303,7 +1303,7 @@ static int net_registry_import(struct net_context *c, int argc, if (!W_ERROR_IS_OK(werr)) { d_printf("Failed to commit transaction on regdb: %s\n", win_errstr(werr)); - goto done; + ret = -1; } } |