X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fcreate.c;h=ff0e9d572c5e8606d0bf6a15c6c387bd4201ccd2;hb=fce80dc672b097f56efe25cf2b4ad5ac018ea70e;hp=559aaa08b9fc1e55046c1b01a7d403b9a4a59bb8;hpb=f1ed85d46043c523cd5b8196c1d266f3606a2531;p=tar diff --git a/src/create.c b/src/create.c index 559aaa0..ff0e9d5 100644 --- a/src/create.c +++ b/src/create.c @@ -1424,7 +1424,7 @@ file_count_links (struct tar_stat_info *st) { if (hard_dereference_option) return; - if (st->stat.st_nlink > 1 || remove_files_option) + if (st->stat.st_nlink > 1) { struct link *duplicate; struct link *lp = xmalloc (offsetof (struct link, name) @@ -1461,7 +1461,7 @@ check_links (void) { if (lp->nlink) { - WARN ((0, 0, _("Missing links to %s.\n"), quote (lp->name))); + WARN ((0, 0, _("Missing links to %s."), quote (lp->name))); } } }