mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 07:26:29 -05:00
Adds filter exclusion.
Some refactoring.
This commit is contained in:
parent
c2d113685e
commit
b9b8fd0bb8
24 changed files with 687 additions and 217 deletions
2
check.c
2
check.c
|
|
@ -292,7 +292,7 @@ void state_check(struct snapraid_state* state, int fix, block_off_t blockstart)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
snprintf(path, sizeof(path), "%s", state->parity);
|
||||
pathcpy(path, sizeof(path), state->parity);
|
||||
if (fix) {
|
||||
/* if fixing, create the file and open for writing */
|
||||
/* it never fails */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue