Don't create aehistograms folder in RT cache, #4904
This commit is contained in:
@@ -57,8 +57,10 @@ void CacheManager::init ()
|
||||
auto error = g_mkdir_with_parents (baseDir.c_str(), cacheDirMode);
|
||||
|
||||
for (const auto& cacheDir : cacheDirs) {
|
||||
if (strncmp(cacheDir, "aehistograms", 12)) { // don't create aehistograms folder.
|
||||
error |= g_mkdir_with_parents (Glib::build_filename (baseDir, cacheDir).c_str(), cacheDirMode);
|
||||
}
|
||||
}
|
||||
|
||||
if (error != 0 && options.rtSettings.verbose) {
|
||||
std::cerr << "Failed to create all cache directories: " << g_strerror(errno) << std::endl;
|
||||
|
Reference in New Issue
Block a user