diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2018-07-09 17:11:24 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2018-07-09 17:11:40 +0200 |
commit | dc6861eb73033f91378e68ce50c8ebab1336af7a (patch) | |
tree | d3da12860f9e50a507550ed886d3b20d70c3b7c5 /src/ejabberd_ctl.erl | |
parent | Merge 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.erl | 4 |
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; |