diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-10-11 11:09:04 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-10-11 11:09:04 +0200 |
commit | 6eefded08574c68e869340e7760d635f37af26a3 (patch) | |
tree | 2e34860269ee8439cfc456fcc40d9d152df63180 /erts/preloaded/src/init.erl | |
parent | eb9c534cb618977dc958da169764306a81d68028 (diff) | |
parent | 9d3fc7af810302009c031c642be7c867e211d815 (diff) | |
download | otp-6eefded08574c68e869340e7760d635f37af26a3.tar.gz otp-6eefded08574c68e869340e7760d635f37af26a3.tar.bz2 otp-6eefded08574c68e869340e7760d635f37af26a3.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/preloaded/src/init.erl')
-rw-r--r-- | erts/preloaded/src/init.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl index 962528f7ab..551ca4ea40 100644 --- a/erts/preloaded/src/init.erl +++ b/erts/preloaded/src/init.erl @@ -205,7 +205,7 @@ boot(BootArgs) -> {Start0,Flags,Args} = parse_boot_args(BootArgs), %% We don't get to profile parsing of BootArgs - case get_flag(profile_boot, Flags, false) of + case b2a(get_flag(profile_boot, Flags, false)) of false -> ok; true -> debug_profile_start() end, @@ -782,7 +782,7 @@ do_boot(Init,Flags,Start) -> (catch erlang:system_info({purify, "Node: " ++ atom_to_list(node())})), start_em(Start), - case get_flag(profile_boot,Flags,false) of + case b2a(get_flag(profile_boot,Flags,false)) of false -> ok; true -> debug_profile_format_mfas(debug_profile_mfas()), |