瀏覽代碼

Make sure to bail w/ return code of 1 when error has occurred

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

+ 6
- 1
src/rebar.erl 查看文件

@ -27,4 +27,9 @@
-export([main/1]). -export([main/1]).
main(Args) -> main(Args) ->
rebar_core:run(Args).
case catch(rebar_core:run(Args)) of
ok ->
ok;
_ ->
halt(1)
end.

Loading…
取消
儲存