tRely on remote synk(1) being in the PATH - synk - synchronize files between hosts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9453df688994798aebaffc745559c95dd492ebba
 (DIR) parent ae21e085a572875e7e01381047853252d65ac663
 (HTM) Author: Willy <willyatmailoodotorg>
       Date:   Sun,  4 Sep 2016 00:03:58 +0200
       
       Rely on remote synk(1) being in the PATH
       
       Diffstat:
         M synk.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/synk.c b/synk.c
       t@@ -533,7 +533,7 @@ spawnremote(struct peers_t *plist)
                struct peer_t *tmp;
        
                SLIST_FOREACH(tmp, plist, entries) {
       -                snprintf(synk_cmd, _POSIX_ARG_MAX, "/usr/local/bin/synk -s -h %s",
       +                snprintf(synk_cmd, _POSIX_ARG_MAX, "synk -s -h %s",
                                inet_ntoa(tmp->peer.sin_addr));
                        cmd = concat(2, ssh_cmd, (char *[]){ tmp->host, synk_cmd, NULL });
                        if (!fork()) {