summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-01-04 02:35:08 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-01-04 02:35:08 +0000
commitdd03620c775e937693c946c73a73c7b0836a6137 (patch)
treed52f5b8f8b27f9723d96338095f201fdd9e715b1
parent7b91034557990edd2546fc8b86976f32b0279b97 (diff)
downloadrabbitmq-server-dd03620c775e937693c946c73a73c7b0836a6137.tar.gz
correct and/or confusionbug25378
-rw-r--r--src/rabbit_control_main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl
index 669a0787..2b7061e8 100644
--- a/src/rabbit_control_main.erl
+++ b/src/rabbit_control_main.erl
@@ -168,7 +168,7 @@ start() ->
{'EXIT', {badarg, _}} ->
print_error("invalid parameter: ~p", [Args]),
usage();
- {error, {Problem, Reason}} when is_atom(Problem); is_binary(Reason) ->
+ {error, {Problem, Reason}} when is_atom(Problem), is_binary(Reason) ->
%% We handle this common case specially to avoid ~p since
%% that has i18n issues
print_error("~s: ~s", [Problem, Reason]),