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 | ac9354b322fac5ec4207d63feac5e87549e41dbe (patch) | |
| tree | a92d5a34f7c19f0cc33f14e954569d68514050cf /src | |
| parent | 8436f5d0a3e23c645822827371f6473b3d7ae4e3 (diff) | |
| download | rabbitmq-server-git-ac9354b322fac5ec4207d63feac5e87549e41dbe.tar.gz | |
cosmetic
Diffstat (limited to 'src')
| -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 632b780873..89a8fd9213 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) |
