Add API: set-wrappid-path.
[wrappi.git] / lib / proto-ssh.c
index 1b505f5..090d91f 100644 (file)
@@ -69,7 +69,7 @@ wrap_int_connect_ssh (wrap_h *w)
             "ssh",
             "-T", "-o", "BatchMode=yes", "-e", "none",
             w->hostname,
-            "sh", "-c", /*XXX*/ "/home/rjones/d/wrappi/daemon/wrappid",
+            "sh", "-c", w->wrappid_path ? : "wrappid",
             NULL);
     perror ("ssh");
     _exit (EXIT_FAILURE);