mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 09:26:27 -05:00
Groups all the startup options in the new snapraid_option struct.
This commit is contained in:
parent
9d1fbd8bfc
commit
1ddb24da46
13 changed files with 152 additions and 192 deletions
4
pool.c
4
pool.c
|
|
@ -109,7 +109,7 @@ static int clean_dir(struct snapraid_state* state, const char* dir)
|
|||
}
|
||||
} else {
|
||||
ignored = 1;
|
||||
if (state->verbose) {
|
||||
if (state->opt.verbose) {
|
||||
printf("Ignoring pool file '%s'\n", path_next);
|
||||
}
|
||||
}
|
||||
|
|
@ -204,7 +204,7 @@ void state_pool(struct snapraid_state* state)
|
|||
/* we ignore empty dirs in disk->dir */
|
||||
}
|
||||
|
||||
if (!state->gui) {
|
||||
if (!state->opt.gui) {
|
||||
if (count)
|
||||
printf("%u links created\n", count);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue