]> git.ipfire.org Git - thirdparty/systemd.git/commit
tar-util: do not error out if archive_read_next_header() returns ARCHIVE_WARN
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 28 Jan 2026 12:42:25 +0000 (13:42 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Jan 2026 17:41:11 +0000 (02:41 +0900)
commitb0b2a71d8114812177f27f3574fd0ed99b8b03e8
treedda2ad09b6160ed53a617772ac59e163063c6493
parenteb2e91b9815bcbc59997c1092d7b52fc18930bff
tar-util: do not error out if archive_read_next_header() returns ARCHIVE_WARN

archive_read_header(3) states that `archive_read_next_header()` returns
`ARCHIVE_WARN` if it succeeds but a non-critical error is found, so issue a
warning instead of stopping the untar process in this case.
src/shared/tar-util.c