From e81da93e864670d179288211f59c280c88144412 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 18 Jun 1998 10:03:44 +0000 Subject: [PATCH] if as non-root we failed to update the group of a file then don't print the file name. --- rsync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rsync.c b/rsync.c index 00c6beb5..1ec4c77d 100644 --- a/rsync.c +++ b/rsync.c @@ -304,8 +304,9 @@ static int set_perms(char *fname,struct file_struct *file,STRUCT_STAT *st, fname,strerror(errno)); return 0; } + } else { + updated = 1; } - updated = 1; } #ifdef HAVE_CHMOD -- 2.34.1