mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 01:16:31 -05:00
Fixes scrub with -p0.
This commit is contained in:
parent
78591a1e65
commit
60cdf39bb9
3 changed files with 8 additions and 3 deletions
4
scrub.c
4
scrub.c
|
|
@ -524,8 +524,8 @@ int state_scrub(struct snapraid_state* state, int percentage, int olderthan)
|
|||
timelimit = recentlimit;
|
||||
}
|
||||
} else {
|
||||
/* we don't have a time limit based on quota */
|
||||
timelimit = recentlimit;
|
||||
/* if we select a 0 percentage, disable also the time limit */
|
||||
timelimit = 0;
|
||||
}
|
||||
|
||||
/* free the temp vector */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue