mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Keep trying to find a good header, if we exit it will cause .tar.gz
files to compute incorrect crc and length for gzip
This commit is contained in:
parent
eba86e2adb
commit
e57feeb9e6
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ extern char get_header_tar(archive_handle_t *archive_handle)
|
|||
|
||||
/* If there is no filename its an empty header */
|
||||
if (tar.formated.name[0] == 0) {
|
||||
return(EXIT_FAILURE);
|
||||
return(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
/* Check header has valid magic, "ustar" is for the proper tar
|
||||
|
|
|
|||
Loading…
Reference in a new issue