Support detecting unsquashfs>4.7.0 decompressors

This commit is contained in:
Miika Tuominen committed 2025-11-22 14:38:59 +02:00
1 parent e2f4065376
commit 2258f2e424
1 file changed
+3 -1
+3 -1
View File
@@ -247,7 +247,9 @@ void CheckSquashfuse() {
void CheckUnsquashfs() {
const std::array<const char*, 3> ExecveArgs = {
"unsquashfs",
"--help",
// since unsquashfs 4.7.1, -help-all is needed to list decompressors.
// also works with older versions.
"-help-all",
nullptr,
};