mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 11:56:33 -05:00
Changes the output format to make it more consistent between commands.
This commit is contained in:
parent
65f40a8fa5
commit
1c07ed86f8
13 changed files with 154 additions and 94 deletions
6
sync.c
6
sync.c
|
|
@ -445,8 +445,10 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
state_progress_end(state, countpos, countmax, countsize);
|
||||
|
||||
if (error || silent_error) {
|
||||
printf("%u read/write errors\n", error);
|
||||
printf("%u data errors\n", silent_error);
|
||||
printf("\n");
|
||||
printf("%8u read/write errors\n", error);
|
||||
printf("%8u data errors\n", silent_error);
|
||||
printf("WARNING! There are errors!\n");
|
||||
} else {
|
||||
/* print the result only if processed something */
|
||||
if (countpos != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue