diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2010-02-05 13:16:21 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2010-02-05 13:16:21 -0700 |
commit | 30a3816c8649bbafb3695780c78c4eabbaa92eda (patch) | |
tree | 9f809194446f8eb0b13bdcbf391616d03285b4bb /include | |
parent | 2734f2bcc2ece0256467bf527c14bf4dab7a7e67 (diff) |
Use init:stop/1 over halt/1 to ensure all I/O gets a chance to flush
Diffstat (limited to 'include')
-rw-r--r-- | include/rebar.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl index ad3e2e0..4d591c9 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -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)). |