X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6fd2662982a188b03c34df2731c390b55eb333fa..209371b8915304a2ec1086f19bf97fccedad23e0:/hlink.c diff --git a/hlink.c b/hlink.c index 1e8adc86..99b4315e 100644 --- a/hlink.c +++ b/hlink.c @@ -179,7 +179,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count) * to first when we're done. */ void match_hard_links(struct file_list *flist) { - if (!list_only) { + if (!list_only && flist->used) { int i, ndx_count = 0; int32 *ndx_list;