Handles better upgrading in the status command.

This commit is contained in:
Andrea Mazzoleni 2014-11-09 22:24:20 +01:00
parent 87e6497665
commit 0c539a0b35
5 changed files with 22 additions and 3 deletions

View file

@ -629,9 +629,6 @@ int state_scrub(struct snapraid_state* state, int percentage, int olderthan)
printf("Scrubbing...\n");
/* after opening parity files, refresh the free info */
state_refresh(state);
error = 0;
ret = state_scrub_process(state, parity_ptr, 0, blockmax, timelimit, lastlimit, now);