mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flush
This commit is contained in:
parent
2734f2bcc2
commit
30a3816c86
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
-define(FAIL, throw({error, failed})).
|
||||
|
||||
-define(ABORT(Str, Args), ?ERROR(Str, Args), halt(1)).
|
||||
-define(ABORT(Str, Args), ?ERROR(Str, Args), init:stop(1)).
|
||||
|
||||
-define(CONSOLE(Str, Args), io:format(Str, Args)).
|
||||
|
||||
|
|
Loading…
Reference in a new issue