Merge pull request #12959 from SuperSamus/sysconf-dirty-fix

Config: Don't depend on `is_dirty` to save SYSCONF during restore
This commit is contained in:
JMC47 2024-08-05 11:42:56 -04:00 committed by GitHub
commit 68fe6779eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,8 +209,7 @@ static void RestoreSYSCONF()
},
setting.config_info);
}
// Save the SYSCONF.
Config::GetLayer(Config::LayerType::Base)->Save();
ConfigLoaders::SaveToSYSCONF(Config::LayerType::Base);
}
void RestoreConfig()