瀏覽代碼

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

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
30a3816c86
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      include/rebar.hrl

+ 1
- 1
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)).

Loading…
取消
儲存