diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-01-13 17:13:24 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-01-13 17:13:24 +0000 |
commit | e5a9c80432e749a36bd5d20c63fa195ec5747050 (patch) | |
tree | 59b5a3151c40d6bba537871a34ee91962be91f9d /src/rabbit_multi.erl | |
parent | 9cfa607d05449fd38e81022a5aaf8f76698a44ce (diff) | |
download | rabbitmq-server-e5a9c80432e749a36bd5d20c63fa195ec5747050.tar.gz |
use halt() instead of init:stop()bug20141
it's much faster and perfectly safe in these self-contained programs
Diffstat (limited to 'src/rabbit_multi.erl')
-rw-r--r-- | src/rabbit_multi.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_multi.erl b/src/rabbit_multi.erl index 7f6eaa8e..5e8edd53 100644 --- a/src/rabbit_multi.erl +++ b/src/rabbit_multi.erl @@ -50,7 +50,7 @@ start() -> case catch action(Command, Args, RpcTimeout) of ok -> io:format("done.~n"), - init:stop(); + halt(); {'EXIT', {function_clause, [{?MODULE, action, _} | _]}} -> error("invalid command '~s'", [lists:flatten( |