diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php index 03e03ae254..3766ed22e8 100644 --- a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php +++ b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php @@ -39,7 +39,9 @@ abstract class PhabricatorAphlictManagementWorkflow try { $dir = dirname($path); - Filesystem::createDirectory($dir, 0755, true); + if (!Filesystem::pathExists($dir)) { + Filesystem::createDirectory($dir, 0755, true); + } } catch (FilesystemException $ex) { throw new Exception( pht(