diff options
| author | Matt McCutchen <matt@mattmccutchen.net> | 2010-03-17 00:53:42 -0400 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2010-04-24 09:51:54 -0700 |
| commit | 7a3ce973c370322251a5f402b80a02457efa682d (patch) | |
| tree | db6a0ac79fad51f83e0b8fea3ab98f2805ef6697 /backup.c | |
| parent | be8234cd5991b395ed2d2a20b9e40bbcd021a70d (diff) | |
| download | rsync-7a3ce973c370322251a5f402b80a02457efa682d.tar.gz | |
In "ignoring unsafe symlink" messages, show only the file-list path.
Rsync was showing the full destination path, which was confusing because
nothing is created at that path and was especially bogus in combination
with the source name of a solo file.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506830
Diffstat (limited to 'backup.c')
| -rw-r--r-- | backup.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -276,8 +276,8 @@ int make_backup(const char *fname, BOOL prefer_rename) const char *sl = F_SYMLINK(file); if (safe_symlinks && unsafe_symlink(sl, fname)) { if (INFO_GTE(SYMSAFE, 1)) { - rprintf(FINFO, "ignoring unsafe symlink %s -> %s\n", - full_fname(buf), sl); + rprintf(FINFO, "not backing up unsafe symlink \"%s\" -> \"%s\"\n", + fname, sl); } ret = 2; } else { |
