summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-09 19:50:51 -0700
committerWayne Davison <wayned@samba.org>2008-03-09 19:50:51 -0700
commitff0e15804f3f7f730ac1c7c79bcd0f34ca39fa4c (patch)
tree70f7e6137e9b17076ec821c90935f6b6465b5f6e /syscall.c
parent894e6299c10e24d1745d268b465695934f4bb1a9 (diff)
downloadrsync-ff0e15804f3f7f730ac1c7c79bcd0f34ca39fa4c.tar.gz
Fixed the itemizing of perms with -E.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index f2f5bc23..c2180de3 100644
--- a/syscall.c
+++ b/syscall.c
@@ -169,7 +169,7 @@ int do_chmod(const char *path, mode_t mode)
} else
code = chmod(path, mode & CHMOD_BITS);
if (code != 0 && (preserve_perms || preserve_executability))
- return code;
+ return code;
return 0;
}
#endif