summaryrefslogtreecommitdiff
path: root/src/ejabberd_ctl.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2018-07-09 17:11:24 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2018-07-09 17:11:40 +0200
commitdc6861eb73033f91378e68ce50c8ebab1336af7a (patch)
treed3da12860f9e50a507550ed886d3b20d70c3b7c5 /src/ejabberd_ctl.erl
parentMerge pull request #2516 from licaon-kter/patch-6 (diff)
Use ejabberd_config:get_version in ejabberdctl status
Diffstat (limited to 'src/ejabberd_ctl.erl')
-rw-r--r--src/ejabberd_ctl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl
index a1a92f3e..7914fcfb 100644
--- a/src/ejabberd_ctl.erl
+++ b/src/ejabberd_ctl.erl
@@ -175,8 +175,8 @@ process(["status"], _Version) ->
"Check for error messages: ~s~n"
"or other files in that directory.~n", [EjabberdLogPath]),
?STATUS_ERROR;
- {value, {_, _, Version}} ->
- print("ejabberd ~s is running in that node~n", [Version]),
+ {value, {_, _, _Version}} ->
+ print("ejabberd ~s is running in that node~n", [ejabberd_config:get_version()]),
?STATUS_SUCCESS
end;