Eliminate duplicate error messages from "tar c".

Reported by:	pav@
This commit is contained in:
Tim Kientzle 2009-05-13 00:04:08 +00:00
parent e831cd36d0
commit c5136006b2

View File

@ -92,6 +92,7 @@ archive_read_disk_entry_from_file(struct archive *_a,
int initial_fd = fd;
int r, r1;
archive_clear_error(_a);
path = archive_entry_sourcepath(entry);
if (path == NULL)
path = archive_entry_pathname(entry);