Skip to content

Commit de2ae91

Browse files
simoncozenscfig
authored andcommitted
Allow 'dangerous' symbolic links
1 parent fd57f24 commit de2ae91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bbootimg/src/main/kotlin/rom/sparse/SparseImage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ data class SparseImage(var info: SparseInfo = SparseInfo()) {
231231
if (EnvironmentVerifier().has7z) {
232232
val stem = File(fileName).nameWithoutExtension
233233
val outFilePath = Helper.joinPath(workDir, stem)
234-
val outStr = "7z x $fileName -y -o$outFilePath".check_output()
234+
val outStr = "7z -snld x $fileName -y -o$outFilePath".check_output()
235235
File(workDir, "$stem.log").writeText(outStr)
236236
} else {
237237
log.warn("Please install 7z for ext4 extraction")

0 commit comments

Comments
 (0)