diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-08-18 10:44:07 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-08-18 10:44:07 +0100 |
commit | d2279893cfb93606cd39820e6e39c86c0da57ee4 (patch) | |
tree | b4a783f69b27a84f69f650e3cf2f58efa872d58b | |
parent | 6542ccd0d84f1ba482c4553702570366e8c07f2f (diff) | |
download | rabbitmq-server-d2279893cfb93606cd39820e6e39c86c0da57ee4.tar.gz |
R12B-3 fix. I don't think this broke anything but it causes the xref CI test to fail...
-rw-r--r-- | src/mirrored_supervisor_tests.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirrored_supervisor_tests.erl b/src/mirrored_supervisor_tests.erl index 9c93718f..ee9c7593 100644 --- a/src/mirrored_supervisor_tests.erl +++ b/src/mirrored_supervisor_tests.erl @@ -301,7 +301,7 @@ code_change(_OldVsn, State, _Extra) -> {ok, State}. die_if_my_supervisor_is_evil() -> - try lists:keyfind(self(), 2, ?MS:which_children(evil)) of + try lists:keysearch(self(), 2, ?MS:which_children(evil)) of false -> ok; _ -> exit(doooom) catch |