From: Wayne Davison Date: Thu, 7 Feb 2008 00:06:33 +0000 (-0800) Subject: Fixed return code from hard_link_one() when not verbose. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e96c7777d7e9ba9337e7a83d6e5370858bf3075e Fixed return code from hard_link_one() when not verbose. --- diff --git a/hlink.c b/hlink.c index 87e4236b..1a1e7c1c 100644 --- a/hlink.c +++ b/hlink.c @@ -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;