Parcourir la source

Allow crypto to already be loaded when starting rebar

pull/3/head
Kresten Krab Thorup il y a 14 ans
committed by Dave Smith
Parent
révision
b890421cae
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      src/rebar.erl

+ 4
- 1
src/rebar.erl Voir le fichier

@ -95,7 +95,10 @@ run_aux(["version"]) ->
ok; ok;
run_aux(Commands) -> run_aux(Commands) ->
%% Make sure crypto is running %% Make sure crypto is running
ok = crypto:start(),
case crypto:start() of
ok -> ok;
{error,{already_started,crypto}} -> ok
end,
%% Initialize logging system %% Initialize logging system
rebar_log:init(), rebar_log:init(),

Chargement…
Annuler
Enregistrer