]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tweak comment
authorJim Meyering <jim@meyering.net>
Sun, 24 May 1998 13:36:54 +0000 (13:36 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 24 May 1998 13:36:54 +0000 (13:36 +0000)
src/chown.c

index 529d9379272ded9ec57350b05202947e562a7a8a..e14dcc139e953287d91aac8f1fddb168b157f6fc 100644 (file)
@@ -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;