diff options
author | Jay Doane <[email protected]> | 2015-04-04 11:38:33 -0700 |
---|---|---|
committer | Jay Doane <[email protected]> | 2015-04-04 11:38:33 -0700 |
commit | 06311df28d24264c81df780a30303eb1f47d288a (patch) | |
tree | 54871ee78def3dca1d290fafcd2a7c9d8ffe69a1 /priv | |
parent | 67023c0708d786f62f2f5ff50627699910416f8a (diff) | |
download | relx-06311df28d24264c81df780a30303eb1f47d288a.tar.gz relx-06311df28d24264c81df780a30303eb1f47d288a.tar.bz2 relx-06311df28d24264c81df780a30303eb1f47d288a.zip |
Replace "-s init stop" with "halt()" in relx_get_longname
Diffstat (limited to 'priv')
-rwxr-xr-x | priv/templates/extended_bin.dtl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index b42df00..4284772 100755 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -40,7 +40,7 @@ relx_get_pid() { relx_get_longname() { id="longname$(relx_gen_id)-${NAME}" - "$BINDIR/erl" -boot start_clean -eval 'io:format("~s~n", [node()])' -noshell -s init stop -name $id | sed -e 's/.*@//g' + "$BINDIR/erl" -boot start_clean -eval 'io:format("~s~n", [node()]), halt()' -noshell -name $id | sed -e 's/.*@//g' } # Connect to a remote node |