summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/copy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/copy.c b/src/copy.c
index 178a6404b..f3ff5a286 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -1988,9 +1988,9 @@ copy_internal (char const *src_name, char const *dst_name,
FIXME - use a gnulib linkat emulation for more fine-tuned
emulation, particularly when LINK_FOLLOWS_SYMLINKS is -1. */
else if (x->hard_link
- && (!LINK_FOLLOWS_SYMLINKS
- || !S_ISLNK (src_mode)
- || x->dereference != DEREF_NEVER))
+ && (!LINK_FOLLOWS_SYMLINKS
+ || !S_ISLNK (src_mode)
+ || x->dereference != DEREF_NEVER))
{
if (link (src_name, dst_name))
{