summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mirrored_supervisor.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl
index 344f6ec286..afd855ed37 100644
--- a/src/mirrored_supervisor.erl
+++ b/src/mirrored_supervisor.erl
@@ -392,10 +392,10 @@ demonitor_all_peers(#state{peer_monitors = Peers}) ->
maybe_start(Delegate, ChildSpec) ->
case mnesia:transaction(fun() -> check_start(Delegate, ChildSpec) end) of
- {atomic, start} -> start(Delegate, ChildSpec);
- {atomic, Pid} -> {already_started, Pid};
+ {atomic, start} -> start(Delegate, ChildSpec);
+ {atomic, Pid} -> {already_started, Pid};
%% If we are torn down while in the transaction...
- {aborted, {killed, _}} -> ignore
+ {aborted, E} -> {error, E}
end.
check_start(Delegate, ChildSpec) ->