(file_count_links): do nothing if hard_dereference_option is set.

This commit is contained in:
Sergey Poznyakoff
2007-10-29 16:56:13 +00:00
parent a8830fbb86
commit eaaadcfd36

View File

@@ -1422,6 +1422,8 @@ dump_hard_link (struct tar_stat_info *st)
static void
file_count_links (struct tar_stat_info *st)
{
if (hard_dereference_option)
return;
if (st->stat.st_nlink > 1)
{
struct link *duplicate;