Skip to content

Commit 2440c4f

Browse files
committed
Remove crash_on_purpose for MobileGestalt
1 parent 5ed431c commit 2440c4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/LogView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct LogView: View {
8787
log.append("\n")
8888
if log.contains("Domain name cannot contain a slash") {
8989
log.append("Result: this iOS version is not supported.")
90-
} else if log.contains("crash_on_purpose") {
90+
} else if log.contains("crash_on_purpose") || result == 0 {
9191
log.append("Result: restore successful.")
9292
if willReboot {
9393
isRebooting.toggle()

Sources/SparseRestore/Restore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct Restore {
7878
contents: file.contents,
7979
owner: file.owner,
8080
group: file.group),
81-
ConcreteFile(path: "", domain: "SysContainerDomain-../../../../../../../../crash_on_purpose", contents: Data())
81+
//ConcreteFile(path: "", domain: "SysContainerDomain-../../../../../../../../crash_on_purpose", contents: Data())
8282
])
8383
}
8484

0 commit comments

Comments
 (0)