Skip to content

Commit

Permalink
Fix of locating the binary of the mongod daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Valdes (@ivanvc) committed Apr 27, 2011
1 parent d58b747 commit 564f91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DaemonController.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ -(void)start
@try {
NSMutableArray *arrayOfArguments = [[NSMutableArray alloc] initWithObjects:@"run", nil];
[self initDaemonTask];
daemon_task.launchPath = @"/usr/local/bin/mongod";
daemon_task.launchPath = location;

if (arguments) {
[arrayOfArguments addObjectsFromArray:[arguments componentsSeparatedByString:@" "]];
Expand Down

0 comments on commit 564f91c

Please sign in to comment.