Fixed the itemizing of perms with -E.

This commit is contained in:
Wayne Davison
2008-03-09 19:50:51 -07:00
parent 894e6299c1
commit ff0e15804f
2 changed files with 11 additions and 7 deletions

View File

@@ -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