synk

synchronize files between hosts
Log | Files | Refs | README | LICENSE

commit 9453df688994798aebaffc745559c95dd492ebba
parent ae21e085a572875e7e01381047853252d65ac663
Author: Willy <willyatmailoodotorg>
Date:   Sun Sep  4 00:03:58 +0200

Rely on remote synk(1) being in the PATH

Diffstat:
synk.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/synk.c b/synk.c @@ -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()) {