mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3:net registry import: fix the return code when transaction commit fails
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
This commit is contained in:
parent
a3ed47a09b
commit
d5ab3282e4
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user