mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01:00
ircd::db: Test if directory for db::available() listing.
This commit is contained in:
parent
f7fbd0f5d2
commit
7f43da8a07
1 changed files with 3 additions and 0 deletions
|
@ -8706,6 +8706,9 @@ ircd::db::available()
|
|||
std::vector<std::string> ret;
|
||||
for(const auto &dir : dirs)
|
||||
{
|
||||
if(!fs::is_dir(dir))
|
||||
continue;
|
||||
|
||||
const auto name
|
||||
{
|
||||
lstrip(dir, prefix)
|
||||
|
|
Loading…
Add table
Reference in a new issue