From 6cebcc568fba79e3496972fc50ae55a7812859ee Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Thu, 7 Jul 2011 03:45:57 +0000 Subject: cli: Exit if glusterd is not operational in non-prompt modes Signed-off-by: Vijay Bellur Signed-off-by: Anand Avati BUG: 3120 (Provide connection timeout between cli and glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3120 --- cli/src/cli.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 77bc249d92..ad8ed26829 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -101,6 +101,7 @@ struct cli_state { char *remote_host; int remote_port; int mode; + int await_connected; }; struct cli_local { -- cgit