Przeglądaj źródła

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

pull/3/head
Dave Smith 15 lat temu
rodzic
commit
af5096b6f0
1 zmienionych plików z 6 dodań i 1 usunięć
  1. +6
    -1
      src/rebar.erl

+ 6
- 1
src/rebar.erl Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz