From c11c2cd3cdda1f5f46c83c09cf6ddcbcc9ee3a89 Mon Sep 17 00:00:00 2001 From: Carlo Carraro Date: Tue, 16 Jul 2019 11:00:02 +0200 Subject: Fix undesired start of epmd when calling relx_get_nodename --- priv/templates/extended_bin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index d8aa9b7..c44f145 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -154,6 +154,7 @@ relx_get_nodename() { -mode interactive \ -boot_var ERTS_LIB_DIR "$ERTS_LIB_DIR" \ -eval '[_,H]=re:split(atom_to_list(node()),"@",[unicode,{return,list}]), io:format("~s~n",[H]), halt()' \ + ${START_EPMD} \ -noshell ${NAME_TYPE} $id else # running with setcookie prevents a ~/.erlang.cookie from being created @@ -162,6 +163,7 @@ relx_get_nodename() { -boot_var ERTS_LIB_DIR "$ERTS_LIB_DIR" \ -eval '[_,H]=re:split(atom_to_list(node()),"@",[unicode,{return,list}]), io:format("~s~n",[H]), halt()' \ -setcookie ${COOKIE} \ + ${START_EPMD} \ -noshell ${NAME_TYPE} $id fi } -- cgit v1.2.3