aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Debnath <[email protected]>2015-12-30 19:42:52 -0800
committerShawn Debnath <[email protected]>2015-12-30 19:42:52 -0800
commit6f15163e93f3034e7831374720513110d8fc5525 (patch)
tree0d6f738a7d59cfc14737d46919ff05f090ebd21f
parent818a2c5d7822d0b9f9b7205603af605113352653 (diff)
downloadrelx-6f15163e93f3034e7831374720513110d8fc5525.tar.gz
relx-6f15163e93f3034e7831374720513110d8fc5525.tar.bz2
relx-6f15163e93f3034e7831374720513110d8fc5525.zip
Allow console to set code loading mode based on defaults.
-rwxr-xr-xpriv/templates/extended_bin2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index b6eb297..7945567 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -366,7 +366,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" -boot "$BOOTFILE" \
+ set -- "$BINDIR/erlexec" -boot "$BOOTFILE" -mode "$CODE_LOADING_MODE" \
-boot_var ERTS_LIB_DIR "$ERTS_LIB_DIR" \
-config "$RELX_CONFIG_PATH" \
-args_file "$VMARGS_PATH"