Skip to content

Commit

Permalink
Merge pull request #924 from GlenWalker/nodetool_proto_dist
Browse files Browse the repository at this point in the history
Force use of nodetool if proto_dist set
  • Loading branch information
tsloughter authored Apr 7, 2023
2 parents 8eb18fc + d40fc7a commit 1a806bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions priv/templates/extended_bin
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,11 @@ if [ "$ERL_DIST_PORT" ]; then
fi
fi

# Force use of nodetool if proto_dist set as erl_call doesn't support proto_dist
if [ "$PROTO_DIST" ]; then
ERL_RPC=relx_nodetool
fi

# Extract the target cookie
# Do this before relx_get_nodename so we can use it and not create a ~/.erlang.cookie
if [ -n "$RELX_COOKIE" ]; then
Expand Down

0 comments on commit 1a806bd

Please sign in to comment.