Fixed the interaction of --fake-super with --link-dest & --xattrs.
[rsync/rsync.git] / hlink.c
diff --git a/hlink.c b/hlink.c
index 87e4236..2a8b77e 100644 (file)
--- a/hlink.c
+++ b/hlink.c
@@ -4,7 +4,7 @@
  * Copyright (C) 1996 Andrew Tridgell
  * Copyright (C) 1996 Paul Mackerras
  * Copyright (C) 2002 Martin Pool <mbp@samba.org>
- * Copyright (C) 2004-2007 Wayne Davison
+ * Copyright (C) 2004-2008 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -393,7 +393,7 @@ int hard_link_one(struct file_struct *file, const char *fname,
                enum logcode code;
                if (terse) {
                        if (!verbose)
-                               return -1;
+                               return 0;
                        code = FINFO;
                } else
                        code = FERROR_XFER;