diff options
Diffstat (limited to 'lib/kernel/src/pg2.erl')
-rw-r--r-- | lib/kernel/src/pg2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/pg2.erl b/lib/kernel/src/pg2.erl index 2cfbcc9189..b562d4ffd2 100644 --- a/lib/kernel/src/pg2.erl +++ b/lib/kernel/src/pg2.erl @@ -165,7 +165,7 @@ get_closest_pid(Name) -> init([]) -> Ns = nodes(), - net_kernel:monitor_nodes(true), + ok = net_kernel:monitor_nodes(true), lists:foreach(fun(N) -> {?MODULE, N} ! {new_pg2, node()}, self() ! {nodeup, N} |