git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ed47a
)
s3:net registry import: fix the return code when transaction commit fails
author
Michael Adam
<obnox@samba.org>
Tue, 26 Jun 2012 13:11:22 +0000
(15:11 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 26 Jun 2012 17:57:19 +0000
(19:57 +0200)
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
source3/utils/net_registry.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_registry.c
b/source3/utils/net_registry.c
index 5d93a71390798bb9dc6f0ec235eee318815c465d..803e12181b6843ba2681fed81f12540d360323b5 100644
(file)
--- 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
;
}
}