On Thu, Dec 21, 2006 at 07:21:34PM +0100, Jens Helweg wrote: > In the log file all lines with deleted files do not show the full path > to the deleted files but show the path of where I ran the rsync > command and the deleted file name.
This is due to a bug-fix to help an rsync daemon log where the files are in the hierarchy, but it's being applied to non-daemons where it is causing a problem with the output (which affects more than just deleted files). The fix is as simple as the appended patch. Thanks for the bug report! ..wayne..
--- log.c 17 Dec 2006 00:40:36 -0000 1.169 +++ log.c 23 Dec 2006 15:56:30 -0000 @@ -525,7 +525,7 @@ static void log_formatted(enum logcode c 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);
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html