mirror of https://github.com/cirruslabs/tart.git
tart import: fix import failing due to SIGBUS (#458)
This commit is contained in:
parent
ab32cb7e60
commit
9b26d30c42
|
|
@ -81,7 +81,8 @@ extension VMDirectory {
|
|||
try? decodeStream.close()
|
||||
}
|
||||
|
||||
guard let extractStream = ArchiveStream.extractStream(extractingTo: FilePath(baseURL.path)) else {
|
||||
guard let extractStream = ArchiveStream.extractStream(extractingTo: FilePath(baseURL.path),
|
||||
flags: [.ignoreOperationNotPermitted]) else {
|
||||
let details = Errno(rawValue: CInt(errno))
|
||||
|
||||
throw RuntimeError.ImportFailed("ArchiveStream.extractStream() failed: \(details)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue