summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-08-03 12:42:41 +0200
committerChristian Ambach <ambi@samba.org>2012-08-03 14:49:01 +0200
commit764f2f99e0a5df0112031bc6f13f8d752a6a302d (patch)
treefd3ff9a83bfb94c0fee71376ff8ffbad07a6953e
parent0a45e9c4d2333192945eb7ba3100b78c1f1c07f0 (diff)
downloadsamba-764f2f99e0a5df0112031bc6f13f8d752a6a302d.tar.gz
samba-764f2f99e0a5df0112031bc6f13f8d752a6a302d.tar.bz2
samba-764f2f99e0a5df0112031bc6f13f8d752a6a302d.zip
s3-ctdb: return proper exit code
do not loose the result from ctdbd_messaging_send_blob() Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Aug 3 14:49:01 CEST 2012 on sn-devel-104
-rw-r--r--source3/lib/ctdbd_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 3c0b188af0..84f26e00d3 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -760,7 +760,7 @@ NTSTATUS ctdbd_messaging_send(struct ctdbd_connection *conn,
status = ctdbd_messaging_send_blob(conn, dst_vnn, dst_srvid,
blob.data, blob.length);
TALLOC_FREE(blob.data);
- return NT_STATUS_OK;
+ return status;
}
NTSTATUS ctdbd_messaging_send_blob(struct ctdbd_connection *conn,