diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-04 02:35:31 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-04 02:35:31 +0000 |
| commit | f884136a0ccb5462f53f83559d544297f667198d (patch) | |
| tree | d52f5b8f8b27f9723d96338095f201fdd9e715b1 | |
| parent | e9fa1775f42a4a31ffe3ac2952edbaa979275acf (diff) | |
| parent | eb28ff95e06e3c335684e2d3ddf75654d0b0e129 (diff) | |
| download | rabbitmq-server-git-f884136a0ccb5462f53f83559d544297f667198d.tar.gz | |
merge bug25378 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]), |
