Skip to content

Commit

Permalink
Fix quoting of arguments that prevented them from being applied
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilberding committed May 18, 2014
1 parent 0266fd1 commit 2489cb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions priv/templates/extended_bin.dtl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

Expand Down

0 comments on commit 2489cb0

Please sign in to comment.