The branch, master has been updated
       via  691b9c0f1771afa564a5959405f2e7a54c334d45 (commit)
      from  32d460b8469eb53145f04161a5d01166f9b5f09e (commit)

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


- Log -----------------------------------------------------------------
commit 691b9c0f1771afa564a5959405f2e7a54c334d45
Author: root <[EMAIL PROTECTED]>
Date:   Mon Dec 8 12:57:40 2008 +1100

    return -1 if ctdb ping failed

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

Summary of changes:
 tools/ctdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/tools/ctdb.c b/tools/ctdb.c
index 034a02a..27fa7de 100644
--- a/tools/ctdb.c
+++ b/tools/ctdb.c
@@ -1697,6 +1697,7 @@ static int control_ping(struct ctdb_context *ctdb, int 
argc, const char **argv)
        ret = ctdb_ctrl_ping(ctdb, options.pnn);
        if (ret == -1) {
                printf("Unable to get ping response from node %u\n", 
options.pnn);
+               return -1;
        } else {
                printf("response from %u time=%.6f sec  (%d clients)\n", 
                       options.pnn, timeval_elapsed(&tv), ret);


-- 
CTDB repository

Reply via email to