Selaa lähdekoodia

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

pull/3/head
Dave Smith 15 vuotta sitten
vanhempi
commit
af5096b6f0
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. +6
    -1
      src/rebar.erl

+ 6
- 1
src/rebar.erl Näytä tiedosto

@ -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.

Ladataan…
Peruuta
Tallenna