mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
Merge pull request #507 from rdoering/master
Solved the problem: crashing on closing preview no mac-sierra
This commit is contained in:
@@ -117,9 +117,9 @@
|
||||
}
|
||||
|
||||
+ (void)_runCleanupForPath:(NSString *)path {
|
||||
NSTask *task = [[NSTask alloc] init];
|
||||
[task setLaunchPath:@"/usr/bin/srm"];
|
||||
[task setArguments:@[@"-m", path]];
|
||||
NSTask *task = [[NSTask alloc] init];
|
||||
[task setLaunchPath:@"/bin/rm"];
|
||||
[task setArguments:@[@"-P", path]];
|
||||
[task launch];
|
||||
[task waitUntilExit];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user