mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 17:32:17 +00:00
Merge branch 'master' of https://github.com/mstarke/MacPass
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