diff options
author | Wayne Davison <wayned@samba.org> | 2018-01-15 10:52:15 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2018-01-15 10:58:31 -0800 |
commit | 0f8e9e2d8638e47d646a6baba694b303ac84e695 (patch) | |
tree | 8b8d7ec208fa77b0f6becaae5c376f86d064d330 /backup.c | |
parent | c4a3f55be35726d0a033996dc37b0fb248b45cb5 (diff) | |
download | rsync-0f8e9e2d8638e47d646a6baba694b303ac84e695.tar.gz |
Don't force nanoseconds if a file wasn't transferred or checksummed.
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ int make_backup(const char *fname, BOOL prefer_rename) save_preserve_xattrs = preserve_xattrs; preserve_xattrs = 0; - set_file_attrs(buf, file, NULL, fname, 0); + set_file_attrs(buf, file, NULL, fname, ATTRS_SET_NANO); preserve_xattrs = save_preserve_xattrs; unmake_file(file); |