[SCM] CTDB repository - branch master updated - ctdb-2.2-32-g733fc90

Amitay Isaacs amitay at samba.org
Tue Jun 25 01:50:51 MDT 2013


The branch, master has been updated
       via  733fc909425860f6a02c205c2d8f34a731853922 (commit)
      from  abeb65ef02d018a7c14d4f8cea71e15c6cf9e357 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 733fc909425860f6a02c205c2d8f34a731853922
Author: Amitay Isaacs <amitay at gmail.com>
Date:   Mon Jun 24 17:37:15 2013 +1000

    client: Exit with non-zero status when unix socket is closed
    
    Signed-off-by: Amitay Isaacs <amitay at gmail.com>

-----------------------------------------------------------------------

Summary of changes:
 client/ctdb_client.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/client/ctdb_client.c b/client/ctdb_client.c
index 51ca49b..5881559 100644
--- a/client/ctdb_client.c
+++ b/client/ctdb_client.c
@@ -207,8 +207,8 @@ void ctdb_client_read_cb(uint8_t *data, size_t cnt, void *args)
 	talloc_steal(tmp_ctx, hdr);
 
 	if (cnt == 0) {
-		DEBUG(DEBUG_INFO,("Daemon has exited - shutting down client\n"));
-		exit(0);
+		DEBUG(DEBUG_CRIT,("Daemon has exited - shutting down client\n"));
+		exit(1);
 	}
 
 	if (cnt < sizeof(*hdr)) {


-- 
CTDB repository


More information about the samba-cvs mailing list