diff options
author | Vijay Bellur <vijay@gluster.com> | 2011-07-05 23:08:40 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-11 04:07:53 -0700 |
commit | a879613637f54a7a2016549b308b359b7577b5ad (patch) | |
tree | aa9de34d1905634a3fcbfa1a3b8005268de86f29 /cli/src/cli.h | |
parent | 8f14d85777c93277403bcac727c0447dcba3cdc0 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h index 36e9e2134aa..0b94d6e36c2 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 { |