mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-14 14:19:57 +02:00
fix(core): recover unrecoverable device identity
This commit is contained in:
@@ -107,7 +107,9 @@ extension Error {
|
||||
var canRetryWithoutChangingInput: Bool {
|
||||
guard let vni = self as? VnidropError else { return true }
|
||||
switch vni {
|
||||
case .FilesystemPermission, .DestinationExists, .InvalidInput: return false
|
||||
case .FilesystemPermission, .DestinationExists, .InvalidInput,
|
||||
.SecureStorageMissing, .SecureStorageCorrupted:
|
||||
return false
|
||||
default: return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user