summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2011-07-06 08:02:21 -0700
committerDave Smith <dizzyd@dizzyd.com>2011-07-06 08:02:21 -0700
commit2d353f82a3b272c184aea0a1ece272f8ff4a1337 (patch)
treec54a459ed57346fc8d67e50c0a4ad57996db01c4
parentf27d47b1f76bc09cc61f5127352d75e9074b615a (diff)
parenta8de2e91bad9be2d9e1bed02d2b14602571e5076 (diff)
Merge pull request #94 from tdx/tdx_mode_embedded
fix erlexec parameter
-rwxr-xr-xpriv/templates/simplenode.runner2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 4b1efa2..59e3973 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -130,7 +130,7 @@ case "$1" in
BINDIR=$ROOTDIR/erts-$ERTS_VSN/bin
EMU=beam
PROGNAME=`echo $0 | sed 's/.*\\///'`
- CMD="$BINDIR/erlexec -boot $RUNNER_BASE_DIR/releases/$APP_VSN/$BOOTFILE -embedded -config $RUNNER_ETC_DIR/app.config -args_file $RUNNER_ETC_DIR/vm.args -- ${1+"$@"}"
+ CMD="$BINDIR/erlexec -boot $RUNNER_BASE_DIR/releases/$APP_VSN/$BOOTFILE -mode embedded -config $RUNNER_ETC_DIR/app.config -args_file $RUNNER_ETC_DIR/vm.args -- ${1+"$@"}"
export EMU
export ROOTDIR
export BINDIR