diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-08 16:28:40 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-08 16:28:40 +0000 |
commit | bcf6a3dbd53c44f7934418797f3abd164989f8ef (patch) | |
tree | 544b379cfd5f2edaf1b843034262c78392aff716 | |
parent | 3c9cd7c346a546a717bf7b06f8f92f722263c216 (diff) | |
parent | af914c19788bbae22c70eee971f846ea476fac91 (diff) | |
download | rabbitmq-server-bcf6a3dbd53c44f7934418797f3abd164989f8ef.tar.gz |
merge bug25353 into stable
-rw-r--r-- | src/rabbit_control_main.erl | 2 |
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]), |