summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-peer.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-10-19 07:50:05 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-24 22:42:56 -0700
commitf014877f37488d6f9d4c505f0675ad45cd770546 (patch)
tree42d55595fc89972bab5ffa6785b898130666595e /cli/src/cli-cmd-peer.c
parenta9187b9609dacb017aff171c317cd5332ef64bd5 (diff)
Remove additional failure cli msg for peer detach
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1955 (Redundant log messages when "peer detach" fails) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1955
Diffstat (limited to 'cli/src/cli-cmd-peer.c')
-rw-r--r--cli/src/cli-cmd-peer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/src/cli-cmd-peer.c b/cli/src/cli-cmd-peer.c
index d0c7639ad..5ae2007f3 100644
--- a/cli/src/cli-cmd-peer.c
+++ b/cli/src/cli-cmd-peer.c
@@ -140,9 +140,6 @@ cli_cmd_peer_deprobe_cbk (struct cli_state *state, struct cli_cmd_word *word,
}
out:
- if (ret)
- cli_out ("Detach failed");
-
return ret;
}