(all_names_found): If test_label_option is set return true

This commit is contained in:
Sergey Poznyakoff
2005-09-28 19:41:15 +00:00
parent 8f1d2fd9c3
commit 13aead50a8

View File

@@ -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);