mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05: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
14
pool.c
14
pool.c
|
|
@ -204,11 +204,13 @@ void state_pool(struct snapraid_state* state)
|
|||
/* we ignore empty dirs in disk->dir */
|
||||
}
|
||||
|
||||
if (!state->opt.gui) {
|
||||
if (count)
|
||||
printf("%u links created\n", count);
|
||||
else
|
||||
printf("No link created\n");
|
||||
}
|
||||
if (count)
|
||||
printf("%u links created\n", count);
|
||||
else
|
||||
printf("No link created\n");
|
||||
|
||||
fprintf(stdlog, "summary:link::%u\n", count);
|
||||
fprintf(stdlog, "summary:exit:ok\n");
|
||||
fflush(stdlog);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue