Update config.d

* Ensure that we load the 'skip_file' defaults when attempting to compare any configuration file entry changes
This commit is contained in:
abraunegg 2024-01-14 08:05:26 +11:00
parent 23f2e2f835
commit 67a2b4bed4

View file

@ -1571,8 +1571,8 @@ class ApplicationConfig {
skip_file_present = true;
// Handle multiple entries of skip_file
if (backupConfigFileSkipFile.empty) {
// currently no entry exists
backupConfigFileSkipFile = c.front.dup;
// currently no entry exists, include 'defaultSkipFile' entries
backupConfigFileSkipFile = defaultSkipFile ~ "|" ~ to!string(c.front.dup);
} else {
// add to existing backupConfigFileSkipFile entry
backupConfigFileSkipFile = backupConfigFileSkipFile ~ "|" ~ to!string(c.front.dup);