diff --git a/weed/util/compression.go b/weed/util/compression.go index 5ba8c4930..8699a8117 100644 --- a/weed/util/compression.go +++ b/weed/util/compression.go @@ -147,7 +147,7 @@ func IsZstdContent(data []byte) bool { if strings.HasSuffix(mtype, "script") { return true, true } - if strings.HasSuffix(mtype, "vnd.rar) { + if strings.HasSuffix(mtype, "vnd.rar") { return false, true } }