diff options
| author | Tim Watson <tim@rabbitmq.com> | 2012-11-30 10:55:31 +0000 |
|---|---|---|
| committer | Tim Watson <tim@rabbitmq.com> | 2012-11-30 10:55:31 +0000 |
| commit | 4e9705cbde44d7c683be725871792fff01cb8dcb (patch) | |
| tree | 99c900a76e5b7aa4e2ff54cf6dc04f80d43cc11f /src | |
| parent | fbdb50453c4cd746a39da27d0a6d78b12d952015 (diff) | |
| download | rabbitmq-server-git-4e9705cbde44d7c683be725871792fff01cb8dcb.tar.gz | |
oops - we mean 'not is_permanent' here
Diffstat (limited to 'src')
| -rw-r--r-- | src/supervisor2.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl index b1a4a6c167..251d0d510b 100644 --- a/src/supervisor2.erl +++ b/src/supervisor2.erl @@ -1142,7 +1142,7 @@ monitor_dynamic_children(#child{restart_type=RType}, Dynamics) -> case monitor_child(P) of ok -> {?SETS:add_element(P, Pids), EStack}; - {error, normal} when ?is_permanent(RType) -> + {error, normal} when not ?is_permanent(RType) -> {Pids, EStack}; {error, Reason} -> {Pids, ?DICT:append(Reason, P, EStack)} @@ -1181,7 +1181,7 @@ wait_dynamic_children(#child{restart_type=RType} = Child, Pids, Sz, wait_dynamic_children(Child, ?SETS:del_element(Pid, Pids), Sz-1, TRef, EStack); - {'DOWN', _MRef, process, Pid, normal} when ?is_permanent(RType) -> + {'DOWN', _MRef, process, Pid, normal} when not ?is_permanent(RType) -> wait_dynamic_children(Child, ?SETS:del_element(Pid, Pids), Sz-1, TRef, EStack); |
