summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-07-05 23:08:40 +0000
committergluster-ant <bugzilla-bot@gluster.org>2011-07-05 23:08:40 +0000
commit83c36daccd2a499e7a60dd27cf5b77a0f00a4b3f (patch)
treef7513410417a696cf59ef5c02d977e0f4171948d /cli/src/cli.h
parent912278ff62d34434b4b056896b0ead1c409f8810 (diff)
cli: Exit if glusterd is not operational in non-prompt modes
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3120 (Provide connection timeout between cli and glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3120
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 36e9e2134a..0b94d6e36c 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -105,6 +105,7 @@ struct cli_state {
char *remote_host;
int remote_port;
int mode;
+ int await_connected;
};
struct cli_local {