We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b810d commit c9ad0e0Copy full SHA for c9ad0e0
compiler-core/templates/gleam@@main.erl
@@ -22,7 +22,7 @@ run_module(Module) ->
22
{ok, _} = application:ensure_all_started('{{ application }}'),
23
erlang:process_flag(trap_exit, false),
24
Module:main(),
25
- init:stop(1)
+ init:stop(0)
26
catch
27
Class:Reason:StackTrace ->
28
print_error(Class, Reason, StackTrace),
0 commit comments