diff options
| author | Vijay Bellur <vijay@gluster.com> | 2010-07-26 12:10:08 +0000 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2010-07-26 12:10:08 +0000 |
| commit | 24e807bb415845dfbefa2efbd4ae77ec56becd34 (patch) | |
| tree | fde5261d4e7e7b5f6a3acf4596a8459699054813 /cli/src/input.c | |
| parent | d55f11b6030a664c43a34513808aa3a97c1ffa55 (diff) | |
cli: Changes to provide proper exit status for gluster commandline
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1205 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1205
Diffstat (limited to 'cli/src/input.c')
| -rw-r--r-- | cli/src/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/input.c b/cli/src/input.c index a577a0f4c1..25a7cb62dd 100644 --- a/cli/src/input.c +++ b/cli/src/input.c @@ -41,6 +41,7 @@ cli_batch (void *d) state = d; + cli_cmd_await_connected (); ret = cli_cmd_process (state, state->argc, state->argv); gf_log ("", GF_LOG_NORMAL, "Exiting with: %d", ret); exit (ret); |
