aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorMarkus Knofe <[email protected]>2010-12-10 19:14:08 +0100
committerNiclas Axelsson <[email protected]>2010-12-15 12:03:09 +0100
commit169d7e440437c8b329cef82c4a260a990956caa7 (patch)
tree6dc24fa62e85033509a654891af6b6eed1fbdab4 /lib/kernel/src
parent9f4dd4934d427f0fb2caeb034115e0227cc4610a (diff)
downloadotp-169d7e440437c8b329cef82c4a260a990956caa7.tar.gz
otp-169d7e440437c8b329cef82c4a260a990956caa7.tar.bz2
otp-169d7e440437c8b329cef82c4a260a990956caa7.zip
Fix list returned by net_kernel:epmd_module
Function epmd_module of net_kernel returns a list instead of an atom, when the epmd_module-flag is used.
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/net_kernel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/net_kernel.erl b/lib/kernel/src/net_kernel.erl
index f5e2820bbe..6c2e0f5514 100644
--- a/lib/kernel/src/net_kernel.erl
+++ b/lib/kernel/src/net_kernel.erl
@@ -1254,7 +1254,7 @@ protocol_childspecs([H|T]) ->
epmd_module() ->
case init:get_argument(epmd_module) of
{ok,[[Module]]} ->
- Module;
+ list_to_atom(Module);
_ ->
erl_epmd
end.