aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-09-26 13:55:57 +0200
committerDan Gudmundsson <[email protected]>2017-09-28 11:38:28 +0200
commit20824528602d921716ed373ee266175e62c09421 (patch)
tree231d04bb05c1b1e6f559202710a3c2b97b7c5446 /erts/etc
parentc4015fbe39a2b76f9746f91eb705a59ac59b06f4 (diff)
downloadotp-20824528602d921716ed373ee266175e62c09421.tar.gz
otp-20824528602d921716ed373ee266175e62c09421.tar.bz2
otp-20824528602d921716ed373ee266175e62c09421.zip
escript: Do not load .erlang
Previously you could not opt out on loading .erlang, change the default to not load the resource file. The escript author can invoke c:erlangrc(PathList) to find and load .erlang if needed.
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/common/escript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/common/escript.c b/erts/etc/common/escript.c
index 8241675200..d739d21f12 100644
--- a/erts/etc/common/escript.c
+++ b/erts/etc/common/escript.c
@@ -521,7 +521,7 @@ main(int argc, char** argv)
free_env_val(env);
PUSH("+B");
- PUSH2("-boot", "start_clean");
+ PUSH2("-boot", "no_dot_erlang");
PUSH("-noshell");
/*