mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 13:20:28 -05:00
Adds a the new -e, --filter-error option for fix and check.
This commit is contained in:
parent
746c829bec
commit
746901d0be
6 changed files with 75 additions and 12 deletions
7
status.c
7
status.c
|
|
@ -222,7 +222,7 @@ int state_status(struct snapraid_state* state)
|
|||
printf("\n");
|
||||
|
||||
if (bad) {
|
||||
printf("DANGER! In the array there are %u failing blocks!\n", bad);
|
||||
printf("DANGER! In the array there are %u failing blocks!\n\n", bad);
|
||||
|
||||
printf("They are:");
|
||||
|
||||
|
|
@ -238,7 +238,10 @@ int state_status(struct snapraid_state* state)
|
|||
printf(" %u", i);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
printf("\n\n");
|
||||
|
||||
printf("To fix them use the command 'snapraid --filter-error fix'.\n");
|
||||
printf("The errors will disapper from the 'status' at the next 'scrub' command.\n");
|
||||
} else {
|
||||
printf("No silent error detected!\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue