aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
authorROMAN SHESTAKOV <[email protected]>2014-10-27 21:51:04 +0000
committerROMAN SHESTAKOV <[email protected]>2014-10-27 21:51:04 +0000
commit68957e4a8fe23cf6b50987e3019329c3f6125435 (patch)
treef9d9fc7ff6e40b3ffd9403049ad439adcaf758e1 /priv/templates
parent74269dd5480714371b8d108516241137a4172a41 (diff)
downloadrelx-68957e4a8fe23cf6b50987e3019329c3f6125435.tar.gz
relx-68957e4a8fe23cf6b50987e3019329c3f6125435.tar.bz2
relx-68957e4a8fe23cf6b50987e3019329c3f6125435.zip
pass a list of args instead of a string
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/extended_bin.dtl4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 235df1d..e4f537a 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -352,11 +352,11 @@ case "$1" in
-args_file "$VMARGS_PATH"
# Dump environment info for logging purposes
- echo "Exec: $@" -- "${1+$ARGS}"
+ echo "Exec: $@" -- ${1+$ARGS}
echo "Root: $ROOTDIR"
# Start the VM
- exec "$@" -- "${1+$ARGS}"
+ exec "$@" -- ${1+$ARGS}
;;
*)
echo "Usage: $REL_NAME {start|start_boot <file>|foreground|stop|restart|reboot|ping|console|console_clean|console_boot <file>|attach|remote_console|upgrade|escript}"