aboutsummaryrefslogtreecommitdiffstats
path: root/hlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'hlink.c')
-rw-r--r--hlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlink.c b/hlink.c
index 0fe6beda..ec497096 100644
--- a/hlink.c
+++ b/hlink.c
@@ -184,7 +184,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;