mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 21:13:35 +00:00
Merge branch 'master' of https://github.com/mstarke/MacPass
This commit is contained in:
@@ -117,9 +117,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
+ (void)_runCleanupForPath:(NSString *)path {
|
+ (void)_runCleanupForPath:(NSString *)path {
|
||||||
NSTask *task = [[NSTask alloc] init];
|
NSTask *task = [[NSTask alloc] init];
|
||||||
[task setLaunchPath:@"/usr/bin/srm"];
|
[task setLaunchPath:@"/bin/rm"];
|
||||||
[task setArguments:@[@"-m", path]];
|
[task setArguments:@[@"-P", path]];
|
||||||
[task launch];
|
[task launch];
|
||||||
[task waitUntilExit];
|
[task waitUntilExit];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user