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 | d2582b551f68d95dfc07b2f29bae95cb0a66770f (patch) | |
| tree | b4a783f69b27a84f69f650e3cf2f58efa872d58b | |
| parent | a3ffc454221aaf147d5ce138dae7208cf7c6ef54 (diff) | |
| download | rabbitmq-server-git-d2582b551f68d95dfc07b2f29bae95cb0a66770f.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 9c93718f16..ee9c759374 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 |
