0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-01 09:38:58 +02:00

ircd::db: Test if directory for db::available() listing.

This commit is contained in:
Jason Volk 2018-09-04 02:28:04 -07:00
parent f7fbd0f5d2
commit 7f43da8a07

View file

@ -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)