]> git.cworth.org Git - tar/blobdiff - src/create.c
Respect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2
[tar] / src / create.c
index 559aaa08b9fc1e55046c1b01a7d403b9a4a59bb8..ff0e9d572c5e8606d0bf6a15c6c387bd4201ccd2 100644 (file)
@@ -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)));
        }
     }
 }