diff options
author | Linus Nordberg <linus@sunet.se> | 2019-07-02 19:40:45 +0200 |
---|---|---|
committer | Linus Nordberg <linus@sunet.se> | 2019-07-02 19:40:45 +0200 |
commit | c576175a46e64a9bb0980cdfde2e376ccdcc5ebf (patch) | |
tree | d8ff87cd05c08c4352fe9341f34343b0a256f05c /p11p-daemon/src/p11p_remote.erl | |
parent | 74bf309efefb091dfeedc9c8a452f74e0385e984 (diff) |
move path to p11-kit-remote to config
Diffstat (limited to 'p11p-daemon/src/p11p_remote.erl')
-rw-r--r-- | p11p-daemon/src/p11p_remote.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11p-daemon/src/p11p_remote.erl b/p11p-daemon/src/p11p_remote.erl index 158b427..86e3471 100644 --- a/p11p-daemon/src/p11p_remote.erl +++ b/p11p-daemon/src/p11p_remote.erl @@ -59,7 +59,7 @@ stop(Pid, Reason) -> %% Genserver callbacks. init([TokName, ModPath]) -> - Port = open_port({spawn_executable, ?P11KITREMOTE_PATH}, + Port = open_port({spawn_executable, p11p_config:remotebin_path()}, [stream, exit_status, {args, [ModPath, "-v"]}]), lager:debug("~p: ~s: new remote port: ~p", [self(), ?P11KITREMOTE_PATH, Port]), {ok, #state{port = Port, token = TokName}}. |