blob: 2d8008d9a313fd750b2202d75ad5c26a7ca7cefc [file] [log] [blame]
%% Copyright (c) 2011 Hunter Morris
%% Distributed under the MIT license; see LICENSE for details.
-module(bcrypt_app).
-author('Hunter Morris <hunter.morris@smarkets.com>').
-behaviour(application).
-export([start/2, stop/1]).
start(normal, _Args) ->
case bcrypt_sup:start_link() of
{ok, Pid} -> {ok, Pid};
{error, _} = Error -> Error
end.
stop(_State) -> ok.