summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-08-08 05:32:35 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-08-08 05:32:35 +0100
commit0b3b4496ad5599a744ebc822a3c84feedc97e7c0 (patch)
tree831c1285b32fdf84f13c68e635374b303179f84d
parentf030fef7be26d69e149f47087588d5b2b1869394 (diff)
downloadrabbitmq-server-0b3b4496ad5599a744ebc822a3c84feedc97e7c0.tar.gz
remove cruft
-rw-r--r--src/rabbit_misc.erl9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 25a51d22..31512b67 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -396,19 +396,10 @@ report_coverage_percentage(File, Cov, NotCov, Mod) ->
confirm_to_sender(Pid, MsgSeqNos) ->
gen_server2:cast(Pid, {confirm, MsgSeqNos, self()}).
-%%
-%% @doc Halts the emulator after printing out an error message io-formatted with
-%% the supplied arguments. The exit status of the beam process will be set to 1.
-%%
quit(Fmt, Args) ->
io:format("ERROR: " ++ Fmt ++ "~n", Args),
quit(1).
-%%
-%% @doc Halts the emulator returning the given status code to the os.
-%% On Windows this function will block indefinitely so as to give the io
-%% subsystem time to flush stdout completely.
-%%
quit(Status) ->
case os:type() of
{unix, _} -> halt(Status);