summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar.erl b/src/rebar.erl
index 11b97da..0b7602b 100644
--- a/src/rebar.erl
+++ b/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(),