From 2489cb005501ca8acb5889c832cb9d9fb3c1b1f5 Mon Sep 17 00:00:00 2001 From: Jordan Wilberding Date: Sun, 18 May 2014 10:24:00 +0200 Subject: Fix quoting of arguments that prevented them from being applied --- priv/templates/extended_bin.dtl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'priv/templates/extended_bin.dtl') diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index 45a9e67..99014fd 100644 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -323,7 +323,7 @@ case "$1" in # or other supervision services [ -f "$REL_DIR/$REL_NAME.boot" ] && BOOTFILE="$REL_NAME" || BOOTFILE=start - FOREGROUNDOPTIONS="-noinput +Bd" + FOREGROUNDOPTIONS="-noshell -noinput +Bd" # Setup beam-required vars EMU=beam @@ -337,7 +337,7 @@ case "$1" in # Build an array of arguments to pass to exec later on # Build it here because this command will be used for logging. - set -- "$BINDIR/erlexec" "$FOREGROUNDOPTIONS" \ + set -- "$BINDIR/erlexec" $FOREGROUNDOPTIONS \ -boot "$REL_DIR/$BOOTFILE" -mode embedded -config "$CONFIG_PATH" \ -args_file "$VMARGS_PATH" -- cgit v1.2.3