diff options
author | Dan Gudmundsson <[email protected]> | 2017-09-26 13:55:57 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2017-09-28 11:38:28 +0200 |
commit | 20824528602d921716ed373ee266175e62c09421 (patch) | |
tree | 231d04bb05c1b1e6f559202710a3c2b97b7c5446 /erts/etc | |
parent | c4015fbe39a2b76f9746f91eb705a59ac59b06f4 (diff) | |
download | otp-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.c | 2 |
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"); /* |