diff options
author | Carlo Carraro <[email protected]> | 2019-07-16 11:00:02 +0200 |
---|---|---|
committer | Carlo Carraro <[email protected]> | 2019-07-16 11:08:54 +0200 |
commit | c11c2cd3cdda1f5f46c83c09cf6ddcbcc9ee3a89 (patch) | |
tree | ac536f8516e6fce0f31db6a1f912b3dcfde8789e /priv/templates/extended_bin | |
parent | f6bdffcd9bff0b62f3b7fd7bbf3db034f05fbd66 (diff) | |
download | relx-c11c2cd3cdda1f5f46c83c09cf6ddcbcc9ee3a89.tar.gz relx-c11c2cd3cdda1f5f46c83c09cf6ddcbcc9ee3a89.tar.bz2 relx-c11c2cd3cdda1f5f46c83c09cf6ddcbcc9ee3a89.zip |
Fix undesired start of epmd when calling relx_get_nodename
Diffstat (limited to 'priv/templates/extended_bin')
-rwxr-xr-x | priv/templates/extended_bin | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |