summaryrefslogtreecommitdiff
path: root/p11p-daemon/src/p11p_remote.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@sunet.se>2019-07-02 19:40:45 +0200
committerLinus Nordberg <linus@sunet.se>2019-07-02 19:40:45 +0200
commitc576175a46e64a9bb0980cdfde2e376ccdcc5ebf (patch)
treed8ff87cd05c08c4352fe9341f34343b0a256f05c /p11p-daemon/src/p11p_remote.erl
parent74bf309efefb091dfeedc9c8a452f74e0385e984 (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.erl2
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}}.