mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Changes the meaning of the -G, --gui option to now remove only
the interactive output. All the other log options are not enabled by default.
This commit is contained in:
parent
7014486bb7
commit
70244133f4
13 changed files with 153 additions and 228 deletions
6
parity.c
6
parity.c
|
|
@ -75,10 +75,8 @@ void parity_overflow(struct snapraid_state* state, data_off_t size)
|
|||
|
||||
if (file->blockmax > 0) {
|
||||
if (file->blockvec[0].parity_pos >= blockalloc) {
|
||||
if (state->opt.gui) {
|
||||
fprintf(stdlog, "outofparity:%s:%s\n", disk->name, file->sub);
|
||||
fflush(stdlog);
|
||||
}
|
||||
fprintf(stdlog, "outofparity:%s:%s\n", disk->name, file->sub);
|
||||
fflush(stdlog);
|
||||
if (first) {
|
||||
first = 0;
|
||||
printf("Files outside the parity:\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue