mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
Describing the problem for mac-sierra
This commit is contained in:
@@ -117,6 +117,13 @@
|
||||
}
|
||||
|
||||
+ (void)_runCleanupForPath:(NSString *)path {
|
||||
/*
|
||||
* This crashes with mac 10.12.1 because the command /usr/bin/srm doesnt come with the OS.
|
||||
* This leads to leaf the plain data at drive.
|
||||
*
|
||||
* The data should be deleted by us. Further the plain data sould never touch the drive.
|
||||
*/
|
||||
|
||||
NSTask *task = [[NSTask alloc] init];
|
||||
[task setLaunchPath:@"/usr/bin/srm"];
|
||||
[task setArguments:@[@"-m", path]];
|
||||
|
||||
Reference in New Issue
Block a user