diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2008-09-11 17:52:23 +0100 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2008-09-11 17:52:23 +0100 |
commit | ef4d1c3083322f1334be0aac150981922de93714 (patch) | |
tree | 19d9553aa1c743347f351cba2b1c2d8a000df6ed | |
parent | 03715ed3ca7374af437b277815e6a1953e90233d (diff) | |
download | rabbitmq-server-ef4d1c3083322f1334be0aac150981922de93714.tar.gz |
cosmetic
-rw-r--r-- | src/rabbit_multi.erl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/rabbit_multi.erl b/src/rabbit_multi.erl index 2ff59dc8..15349a60 100644 --- a/src/rabbit_multi.erl +++ b/src/rabbit_multi.erl @@ -93,12 +93,14 @@ action(status, [], RpcTimeout) -> io:format("Status of all running nodes...~n", []), call_all_nodes( fun({Node, Pid}) -> - io:format("Node '~p' with Pid ~p: ", [Node, Pid]), - case parse_status( - rpc:call(Node, rabbit, status, [], RpcTimeout)) of - false -> io:format("~p~n", ["not running"]); - true -> io:format("~p~n", ["running"]) - end + io:format("Node '~p' with Pid ~p: ~p~n", + [Node, Pid, + case parse_status( + rpc:call( + Node, rabbit, status, [], RpcTimeout)) of + false -> not_running; + true -> running + end]) end); action(stop_all, [], RpcTimeout) -> |