Skip to content

Commit

Permalink
Merge pull request #3409 from conath/3388-invalid-drive-id-for-orphan…
Browse files Browse the repository at this point in the history
…ed-drive

Fix #3388 invalid drive id for manually placed files
  • Loading branch information
osy authored Jan 8, 2022
2 parents da9b162 + 0861a09 commit 8a12ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/UTMQemuConfiguration+Drives.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ - (void)migrateDriveConfigurationIfNecessary {
- (void)recoverOrphanedDrives {
NSArray<NSString *> *orphans = self.orphanedDrives;
for (NSInteger i = 0; i < orphans.count; i++) {
NSString *name = [NSUUID UUID].UUIDString;
NSString *name = [NSString stringWithFormat:@"drive%@", [[NSUUID UUID] UUIDString]];
[self newDrive:name path:orphans[i] type:UTMDiskImageTypeNone interface:@""];
}
}
Expand Down

0 comments on commit 8a12ff8

Please sign in to comment.