diff options
| author | Andrew Tridgell <tridge@samba.org> | 2007-05-19 21:11:06 +1000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2007-05-19 21:11:06 +1000 |
| commit | c02fee6ed33d847abc8a5fefaa5b7bbd2e999d1c (patch) | |
| tree | 6dcaa06a1085d22787500caf28949665e954fbec | |
| parent | d549f1e1a37611fac16ede44ed130023ac4d3a9e (diff) | |
show ctdb control timeout
(This used to be ctdb commit 03921eacb942c7aa6b81236c6603dc640cefe2bf)
| -rw-r--r-- | ctdb/common/ctdb_client.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/common/ctdb_client.c b/ctdb/common/ctdb_client.c index c51fcd7b05..c95dc65f18 100644 --- a/ctdb/common/ctdb_client.c +++ b/ctdb/common/ctdb_client.c @@ -754,6 +754,11 @@ int ctdb_control(struct ctdb_context *ctdb, uint32_t destnode, uint64_t srvid, } if (timed_out) { talloc_free(state); + if (errormsg) { + (*errormsg) = talloc_strdup(mem_ctx, "control timed out"); + } else { + DEBUG(0,("ctdb_control timed out\n")); + } return -1; } |
