We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7976bae commit 0d1d762Copy full SHA for 0d1d762
SSYLaunchdGuy.m
@@ -372,7 +372,7 @@ + (BOOL)addAgentInfo:(NSDictionary*)dic
372
373
+ (NSString*)myAgentDirectoryError_p:(NSError**)error_p {
374
NSString* myAgentDirectory = [SSYLaunchdBasics homeLaunchAgentsPath] ;
375
- BOOL ok = [[NSFileManager defaultManager] createDirectoryIfNoneExistsAtPath:myAgentDirectory
+ BOOL ok = [[NSFileManager defaultManager] ensureDirectoryAtPath:myAgentDirectory
376
error_p:error_p] ;
377
if (!ok) {
378
myAgentDirectory = nil ;
0 commit comments