mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Print error report only if something was processed.
This commit is contained in:
parent
069452680d
commit
f8d5c6dedc
1 changed files with 3 additions and 1 deletions
4
scrub.c
4
scrub.c
|
|
@ -386,7 +386,9 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
printf("%u read/data errors\n", error);
|
||||
printf("%u silent errors\n", silent_error);
|
||||
} else {
|
||||
printf("No error\n");
|
||||
/* print the result only if processed something */
|
||||
if (countpos != 0)
|
||||
printf("No error\n");
|
||||
}
|
||||
|
||||
bail:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue