Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow crypto to already be loaded when starting rebar

  • Loading branch information...
commit b890421caea5c62a4d06e5d3a24877a2bfbeb901 1 parent c71bbf6
@krestenkrab krestenkrab authored dizzyd committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/rebar.erl
View
5 src/rebar.erl
@@ -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(),
Please sign in to comment.
Something went wrong with that request. Please try again.