X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/dbd9ea3e5afd7564f41170e19eed7ebd7e974638..4f47fec04d2a98427d9f9783a073a5f1856ef342:/log.c diff --git a/log.c b/log.c index d5308b2f..8fe47444 100644 --- a/log.c +++ b/log.c @@ -525,7 +525,7 @@ static void log_formatted(enum logcode code, const char *format, const char *op, n = c; } else n = buf2; - } else if (*c != '/') { + } else if (am_daemon && *c != '/') { pathjoin(buf2, sizeof buf2, curr_dir + module_dirlen, c); clean_fname(buf2, 0);