summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
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