summaryrefslogtreecommitdiff
path: root/xattrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xattrs.c')
-rw-r--r--xattrs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xattrs.c b/xattrs.c
index 01d30e4b..7e31422c 100644
--- a/xattrs.c
+++ b/xattrs.c
@@ -308,7 +308,8 @@ int get_xattr(const char *fname, stat_x *sxp)
if (!preserve_devices)
#endif
return 0;
- }
+ } else if (IS_MISSING_FILE(sxp->st))
+ return 0;
if (rsync_xal_get(fname, sxp->xattr) < 0) {
free_xattr(sxp);