Browse Source

Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flush

pull/3/head
Dave Smith 15 years ago
parent
commit
30a3816c86
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/rebar.hrl

+ 1
- 1
include/rebar.hrl View File

@ -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…
Cancel
Save