Eliminate duplicate error messages from "tar c".
Reported by: pav@
This commit is contained in:
parent
e831cd36d0
commit
c5136006b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user