summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-10-05 00:24:40 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-05 03:42:53 -0700
commit25c2e7e18a07f76a8e2168eb9c3d8f87c558069e (patch)
tree9d81f2dec4ad8de4a4b84f05262f25bc7a07a5a5 /cli
parent3f89342de32f214cdb9d641c402954ae9345af71 (diff)
Do not exit to shell after gluster help if readline mode is not enabled
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1709 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1709
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-misc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/src/cli-cmd-misc.c b/cli/src/cli-cmd-misc.c
index ecef83d116e..1e356c63bea 100644
--- a/cli/src/cli-cmd-misc.c
+++ b/cli/src/cli-cmd-misc.c
@@ -72,9 +72,6 @@ cli_cmd_display_help (struct cli_state *state, struct cli_cmd_word *in_word,
for (cmd = cli_misc_cmds; cmd->pattern; cmd++)
cli_out ("%s - %s", cmd->pattern, cmd->desc);
- if (!state->rl_enabled)
- exit (0);
-
return 0;
}