mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
Fix detection of lz4 header magic number
This commit is contained in:
parent
ab46d7223f
commit
bbb0c19ae6
@ -65,7 +65,7 @@ save_userdata() {
|
||||
cmd="lzma -dc"
|
||||
elif match_header '\211\114\132' "$tmpfile"; then
|
||||
cmd="lzop -dc"
|
||||
elif match_header '\002!L\030' "$tmpfile"; then
|
||||
elif match_header '\004\042\115\030' "$tmpfile"; then
|
||||
cmd="lz4 -dc"
|
||||
elif match_header '(\265/\375' "$tmpfile"; then
|
||||
cmd="zstd -dc"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user