Fail closed on invalid .snapraidignore control files

This commit is contained in:
Andrea Mazzoleni 2026-09-25 09:21:06 +02:00
parent 099f3c7429
commit 13267085d1
5 changed files with 55 additions and 12 deletions

View file

@ -438,7 +438,7 @@ int state_thermal_begin(struct snapraid_state* state, time_t now);
/**
* Load the ignore file .snapraidignore
*/
void state_load_ignore_file(tommy_list* filter_list, const char* path, const char* sub);
int state_load_ignore_file(tommy_list* filter_list, const char* path, const char* sub);
/**
* Report attributes into the log