summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-11-30 13:50:29 +0000
committerMatthias Radestock <matthias@lshift.net>2008-11-30 13:50:29 +0000
commit4ddcc642783c8a9f30bc517af658a67b98472514 (patch)
treeada5cc12fad37f074aa8c3092d2ddda2275ac6b2 /src
parent11b16d483f382ffbb84cebb00262aee21471ebd2 (diff)
parent19578c6db396218edcb3001c8927be7de6939858 (diff)
downloadrabbitmq-server-git-4ddcc642783c8a9f30bc517af658a67b98472514.tar.gz
merge bug19912 into bug19910
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_control.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl
index d266ff0baa..40ceadff84 100644
--- a/src/rabbit_control.erl
+++ b/src/rabbit_control.erl
@@ -37,10 +37,10 @@ start() ->
#params{quiet = Quiet, node = Node, command = Command, args = Args} =
parse_args(FullCommand, #params{quiet = false,
node = rabbit_misc:localnode(rabbit)}),
- Inform = case Quiet of
- true -> fun(_Format, _Args) -> ok end;
- false -> fun(Format, Args) ->
- io:format(Format ++ " ...~n", Args)
+ Inform = case Quiet of
+ true -> fun(_Format, _Args1) -> ok end;
+ false -> fun(Format, Args1) ->
+ io:format(Format ++ " ...~n", Args1)
end
end,
%% The reason we don't use a try/catch here is that rpc:call turns