Skip to content

Commit c9ad0e0

Browse files
committed
Oops
1 parent 91b810d commit c9ad0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-core/templates/gleam@@main.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ run_module(Module) ->
2222
{ok, _} = application:ensure_all_started('{{ application }}'),
2323
erlang:process_flag(trap_exit, false),
2424
Module:main(),
25-
init:stop(1)
25+
init:stop(0)
2626
catch
2727
Class:Reason:StackTrace ->
2828
print_error(Class, Reason, StackTrace),

0 commit comments

Comments
 (0)