Skip to content

Commit 0d1d762

Browse files
committed
Now compatible with SSYCategoriesObjC commit 7c8461f.
1 parent 7976bae commit 0d1d762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SSYLaunchdGuy.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ + (BOOL)addAgentInfo:(NSDictionary*)dic
372372

373373
+ (NSString*)myAgentDirectoryError_p:(NSError**)error_p {
374374
NSString* myAgentDirectory = [SSYLaunchdBasics homeLaunchAgentsPath] ;
375-
BOOL ok = [[NSFileManager defaultManager] createDirectoryIfNoneExistsAtPath:myAgentDirectory
375+
BOOL ok = [[NSFileManager defaultManager] ensureDirectoryAtPath:myAgentDirectory
376376
error_p:error_p] ;
377377
if (!ok) {
378378
myAgentDirectory = nil ;

0 commit comments

Comments
 (0)