cli: log gluster version in cli init

Change-Id: I4994043d303212da795c76867a7ee4355d318a8c
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/9951
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
This commit is contained in:
Atin Mukherjee 2015-03-20 11:22:50 +05:30 committed by Krishnan Parthasarathi
parent 7cd5899426
commit c8e095765c

View File

@ -706,6 +706,9 @@ main (int argc, char *argv[])
if (ret)
goto out;
gf_log ("cli", GF_LOG_INFO, "Started running %s with version %s",
argv[0], PACKAGE_VERSION);
global_rpc = cli_rpc_init (&state);
if (!global_rpc)
goto out;