@ -1047,8 +1047,10 @@ void DirectoryCommit(const fs::path &dirname)
{
#ifndef WIN32
FILE* file = fsbridge::fopen(dirname, "r");
fsync(fileno(file));
if (file) {
fclose(file);
}
#endif