From 25c2e7e18a07f76a8e2168eb9c3d8f87c558069e Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Tue, 5 Oct 2010 00:24:40 +0000 Subject: Do not exit to shell after gluster help if readline mode is not enabled Signed-off-by: shishir gowda Signed-off-by: Vijay Bellur BUG: 1709 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1709 --- cli/src/cli-cmd-misc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cli') 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; } -- cgit