erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

set dist_listen to false for command that grabs the hostname #841

Closed tsloughter closed 3 years ago

tsloughter commented 3 years ago

Without dist_listen set to false this command will try to bind to a listen port which will fail if epmd isn't being started. There is no need to set a port for it to listen on since it is only there to get the hostname.

tsloughter commented 3 years ago

Not sure if it is worth getting rid of this call altogether if running on 23.1+, but maybe? I noted the fact we probably can in this issue https://github.com/erlware/relx/issues/811