diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-07 16:36:10 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-07 16:36:10 +0000 |
commit | 592c42e10b0d2c1d90347eb3540eeda44382240a (patch) | |
tree | 8f67872f50dd75ec6a120b7778125bbd12584ca3 | |
parent | 4cd34e45f12e31ef0090b0033c55be419cf47d69 (diff) | |
download | rabbitmq-server-592c42e10b0d2c1d90347eb3540eeda44382240a.tar.gz |
accomodate both forms of nodedown
-rw-r--r-- | src/delegate_sup.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/delegate_sup.erl b/src/delegate_sup.erl index 96515ff4..78e8eadc 100644 --- a/src/delegate_sup.erl +++ b/src/delegate_sup.erl @@ -48,7 +48,8 @@ count([Node | Nodes]) -> length(supervisor:which_children({?SERVER, Node})) catch exit:{{R, _}, _} when R =:= nodedown; R =:= shutdown -> count(Nodes); - exit:{R, _} when R =:= noproc; R =:= normal; R =:= shutdown -> + exit:{R, _} when R =:= noproc; R =:= normal; R =:= shutdown; + R =:= nodedown -> count(Nodes) end. |