summaryrefslogtreecommitdiff
path: root/p11p-daemon/src/p11p_remote.erl
diff options
context:
space:
mode:
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}}.