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