Skip to content

Commit

Permalink
Fix for issue #30. The pull request was not quite the right fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlmoon committed Jan 20, 2012
1 parent bdd2bb1 commit 40e202c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GearmanManager.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ protected function getopt() {
} }
} }
if(!empty($this->log_file_handle)){ if(!empty($this->log_file_handle)){
if(!chown($this->config['log_file'], $user['uid'])){ if(!chown($this->log_file, $user['uid'])){
$this->log("Unable to chown log file to {$this->user}", GearmanManager::LOG_LEVEL_PROC_INFO); $this->log("Unable to chown log file to {$this->user}", GearmanManager::LOG_LEVEL_PROC_INFO);
} }
} }
Expand Down

0 comments on commit 40e202c

Please sign in to comment.