Skip to content

Commit

Permalink
exclude php_executable from directory handling
Browse files Browse the repository at this point in the history
fixes #48
  • Loading branch information
Phobetor committed Sep 6, 2019
1 parent 2d0904b commit 6f22571
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Services/RabbitMqSupervisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ private function getSupervisorPid()

private function createPathDirectories()
{
foreach ($this->paths as $path) {
foreach ($this->paths as $key => $path) {
if ('php_executable' === $key) {
continue;
}

if ('/' !== substr($path, -1, 1)) {
$path = dirname($path);
}
Expand Down

0 comments on commit 6f22571

Please sign in to comment.