mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-19 03:01:11 +01:00
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:
parent
9d0891c7e1
commit
aa9395e38f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue