<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">чт, 11 окт. 2018 г. в 17:06, Caragea Silviu <<a href="mailto:silviu.cpp@gmail.com">silviu.cpp@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>Also it's strange because if I change do_not_load() to return ok it's working :)</div><div><br></div></div></div></div></div></blockquote><div><br></div><div>Nothing strange at all. It's documented behaviour: <a href="http://erlang.org/doc/reference_manual/code_loading.html">http://erlang.org/doc/reference_manual/code_loading.html</a></div><div><span style="color:rgb(26,26,26);font-family:sans-serif;font-size:16px;background-color:rgb(254,254,254)">"The function must return </span><span class="gmail-code" style="font-family:mono,Courier,monospace;background-color:rgb(243,243,243);color:rgb(26,26,26);font-size:16px">ok</span><span style="color:rgb(26,26,26);font-family:sans-serif;font-size:16px;background-color:rgb(254,254,254)"> if the module is to become the new current code for the module and become callable.</span> "</div><div><br></div><div>Gleb</div></div></div></div>