diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-08 16:48:27 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-08 16:48:27 +0000 |
| commit | f649f7e82c2d08a57d7cf7efe8d04752bdbb4046 (patch) | |
| tree | ab7eb993174d778a9a35bca7359bce2ba1bc0867 | |
| parent | abd42f6c74e17d0372bea603145a2cc3166018da (diff) | |
| parent | e72d2281129b64cb49b039bdffd882d0b0df9c87 (diff) | |
| download | rabbitmq-server-git-f649f7e82c2d08a57d7cf7efe8d04752bdbb4046.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 669a078754..2b7061e8d5 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]), |
