mirror of
https://codeberg.org/vyivel/dulcepan/
synced 2025-12-18 16:15:13 +02:00
config: don't die on unknown keys
This commit is contained in:
@@ -195,7 +195,7 @@ void dp_config_load(struct dp_config *config, const char *user_path) {
|
|||||||
} else if (strcmp(key, "save-key") == 0) {
|
} else if (strcmp(key, "save-key") == 0) {
|
||||||
load_key(value, line_idx, &config->save_key);
|
load_key(value, line_idx, &config->save_key);
|
||||||
} else {
|
} else {
|
||||||
dp_log_fatal("Config: unknown key %s on line %d", key, line_idx);
|
dp_log_error("Config: unknown key %s on line %d", key, line_idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(line);
|
free(line);
|
||||||
|
|||||||
Reference in New Issue
Block a user