mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Allow crypto to already be loaded when starting rebar
This commit is contained in:
parent
c71bbf6a0d
commit
b890421cae
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,10 @@ run_aux(["version"]) ->
|
|||
ok;
|
||||
run_aux(Commands) ->
|
||||
%% Make sure crypto is running
|
||||
ok = crypto:start(),
|
||||
case crypto:start() of
|
||||
ok -> ok;
|
||||
{error,{already_started,crypto}} -> ok
|
||||
end,
|
||||
|
||||
%% Initialize logging system
|
||||
rebar_log:init(),
|
||||
|
|
Loading…
Reference in a new issue