diff options
author | Tim Watson <tim@rabbitmq.com> | 2012-09-03 16:55:07 +0100 |
---|---|---|
committer | Tim Watson <tim@rabbitmq.com> | 2012-09-03 16:55:07 +0100 |
commit | 88181f450c06190d0de3f5b6104c0ba2f998e121 (patch) | |
tree | a92d5a34f7c19f0cc33f14e954569d68514050cf | |
parent | 6db853fb28bc092e39f956919ba4b8bd1031cec8 (diff) | |
download | rabbitmq-server-88181f450c06190d0de3f5b6104c0ba2f998e121.tar.gz |
cosmetic
-rw-r--r-- | src/supervisor2.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl index 632b7808..89a8fd92 100644 --- a/src/supervisor2.erl +++ b/src/supervisor2.erl @@ -834,8 +834,7 @@ terminate_simple_children(Child, Dynamics, SupName) -> timeout_stop(Child, TRef, TimeoutMsg, Timedout), ReportError = shutdown_error_reporter(SupName), Report = fun(_, ok) -> ok; - (Pid, {error, R}) -> ReportError(R, Child#child{pid = Pid}); - (Pid, Other) -> ReportError(Other, Child#child{pid = Pid}) + (Pid, {error, R}) -> ReportError(R, Child#child{pid = Pid}) end, [receive {'EXIT', Pid, Reason} -> Report(Pid, Reason) |