Browse Source

(all_names_found): If test_label_option is set return true

Sergey Poznyakoff 19 years ago
parent
commit
13aead50a8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/names.c

+ 2 - 0
src/names.c

@@ -538,6 +538,8 @@ all_names_found (struct tar_stat_info *p)
   struct name const *cursor;
   size_t len;
 
+  if (test_label_option)
+    return true;
   if (!p->file_name || occurrence_option == 0 || p->had_trailing_slash)
     return false;
   len = strlen (p->file_name);