Fix bad variable causing aphlict to fail to start with no "logs" config

Summary: Fixes T10863. See that task for discussion.

Test Plan:
  - Configured `aphlict` with no "logs".
  - Started `aphlict`.
    - Before change: exception.
    - After change: worked.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10863

Differential Revision: https://secure.phabricator.com/D15788
This commit is contained in:
epriestley
2016-04-24 06:33:59 -07:00
parent 9d0891c7e1
commit aa9395e38f

View File

@@ -274,7 +274,7 @@ abstract class PhabricatorAphlictManagementWorkflow
$pid_path = $this->getPIDPath();
try {
$dir = dirname($path);
$dir = dirname($pid_path);
if (!Filesystem::pathExists($dir)) {
Filesystem::createDirectory($dir, 0755, true);
}