summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2016-12-06 11:31:07 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2016-12-06 11:31:07 +0100
commit945f2f48eb9c93f6edcb36a77fc5d782395ace9f (patch)
treeeb8f8f50cd13609194510dec1c4fb270dc9b9467
parenta1fb615ff66b34a10d18c09268f0e399dfd9dea1 (diff)
downloadrabbitmq-server-git-945f2f48eb9c93f6edcb36a77fc5d782395ace9f.tar.gz
rabbit: Use application description in banner
... instead of application id. They have the same value currently, but once we move from .app.src to Makefile variables, Erlang.mk will use the id for other purposes. [#130992027]
-rw-r--r--src/rabbit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index e5a6f09c56..4a7a69eb62 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -901,7 +901,7 @@ erts_version_check() ->
end.
print_banner() ->
- {ok, Product} = application:get_key(id),
+ {ok, Product} = application:get_key(description),
{ok, Version} = application:get_key(vsn),
io:format("~n ~s ~s. ~s"
"~n ## ## ~s"