summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-24 13:36:54 +0000
committerJim Meyering <jim@meyering.net>1998-05-24 13:36:54 +0000
commit45d32cef802ae8a7a7f408d8ed5afc819c3ad030 (patch)
tree459b30d000b8a6e28c6a8525b72eb218c87288e7 /src
parent3f51edcdec0b8a48df3a37bb66f8cb3587e2cee7 (diff)
downloadcoreutils-45d32cef802ae8a7a7f408d8ed5afc819c3ad030.tar.xz
tweak comment
Diffstat (limited to 'src')
-rw-r--r--src/chown.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/chown.c b/src/chown.c
index 529d93792..e14dcc139 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -188,11 +188,8 @@ change_file_owner (int cmdline_arg, const char *file, uid_t user, gid_t group)
{
fail = lchown (file, newuser, newgroup);
- /* Failing to lchown a symlink is fatal only if it is a command
- line argument. Symlinks encountered during a recursive
- traversal are silently ignored. So, ignore the failure
- if it's due to lack of support (ENOSYS) and this is not a
- command line argument. */
+ /* Ignore the failure if it's due to lack of support (ENOSYS)
+ and this is not a command line argument. */
if (!cmdline_arg && fail && errno == ENOSYS)
{
fail = 0;