summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-cmd.c')
-rw-r--r--cli/src/cli-cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/src/cli-cmd.c b/cli/src/cli-cmd.c
index ee30ea996e6..b4967d2cca6 100644
--- a/cli/src/cli-cmd.c
+++ b/cli/src/cli-cmd.c
@@ -248,10 +248,9 @@ cli_cmd_await_connected ()
int32_t
cli_cmd_broadcast_connected ()
{
- connected = 1;
- gf_log ("", GF_LOG_NORMAL, "Connected");
pthread_mutex_lock (&conn_mutex);
{
+ connected = 1;
pthread_cond_broadcast (&conn);
}