Less directories

This commit is contained in:
Alexey Milovidov 2024-05-03 03:30:28 +02:00
parent aea3090074
commit b5f454fb46

View File

@ -693,6 +693,7 @@ void LocalServer::processConfig()
if (config().has("path"))
{
String path = global_context->getPath();
fs::create_directories(fs::path(path));
/// Lock path directory before read
status.emplace(fs::path(path) / "status", StatusFile::write_full_info);