From be2cc2f7ce90b97328d933517ce66169ae89baeb Mon Sep 17 00:00:00 2001 From: shylesh Date: Tue, 24 Apr 2012 02:32:32 -0400 Subject: cli: Return -1 if fix-layout stop is issued Change-Id: If2e4b842029a1a720403cbec0c076f3dbf1fc6df BUG: 803971 Signed-off-by: shylesh Reviewed-on: http://review.gluster.com/3216 Tested-by: Gluster Build System Reviewed-by: Shishir Gowda --- cli/src/cli-cmd-volume.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/src') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 4773ac9f4..81342c8e1 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -781,6 +781,7 @@ cli_cmd_volume_defrag_cbk (struct cli_state *state, struct cli_cmd_word *word, strcmp (words[4], "force"))) { cli_usage_out (word->pattern); parse_error = 1; + ret = -1; goto out; } -- cgit