diff options
author | Wayne Davison <wayned@samba.org> | 2008-02-18 16:48:04 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-02-18 16:48:04 -0800 |
commit | 0099e423325e3c4ad919f6379f41cfe6618ad154 (patch) | |
tree | cb158e72dc05110eaa16a8cbb0f1a85105c4e685 /rsync.c | |
parent | 1ed56a05c26b6cb6f3891ce16be89aeab388a293 (diff) | |
download | rsync-0099e423325e3c4ad919f6379f41cfe6618ad154.tar.gz rsync-0099e423325e3c4ad919f6379f41cfe6618ad154.tar.bz2 rsync-0099e423325e3c4ad919f6379f41cfe6618ad154.zip |
Only set FLAG_TIME_FAILED if receiver_symlink_times is set.
Diffstat (limited to 'rsync.c')
-rw-r--r-- | rsync.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,6 +41,7 @@ extern int am_generator; extern int am_starting_up; extern int allow_8bit_chars; extern int protocol_version; +extern int receiver_symlink_times; extern int uid_ndx; extern int gid_ndx; extern int inc_recurse; @@ -399,7 +400,7 @@ int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp, } if (ret == 0) /* ret == 1 if symlink could not be set */ updated = 1; - else + else if (receiver_symlink_times) file->flags |= FLAG_TIME_FAILED; } |