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:
@@ -274,7 +274,7 @@ abstract class PhabricatorAphlictManagementWorkflow
|
|||||||
|
|
||||||
$pid_path = $this->getPIDPath();
|
$pid_path = $this->getPIDPath();
|
||||||
try {
|
try {
|
||||||
$dir = dirname($path);
|
$dir = dirname($pid_path);
|
||||||
if (!Filesystem::pathExists($dir)) {
|
if (!Filesystem::pathExists($dir)) {
|
||||||
Filesystem::createDirectory($dir, 0755, true);
|
Filesystem::createDirectory($dir, 0755, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user