aboutsummaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
authorJay Doane <[email protected]>2015-04-04 11:38:33 -0700
committerJay Doane <[email protected]>2015-04-04 11:38:33 -0700
commit06311df28d24264c81df780a30303eb1f47d288a (patch)
tree54871ee78def3dca1d290fafcd2a7c9d8ffe69a1 /priv
parent67023c0708d786f62f2f5ff50627699910416f8a (diff)
downloadrelx-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-xpriv/templates/extended_bin.dtl2
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