mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-22 07:56:33 -05:00
Doesn't start sync if Ctrl+C is pressed.
This commit is contained in:
parent
7fa93e6c98
commit
cefe021e60
3 changed files with 13 additions and 3 deletions
2
sync.c
2
sync.c
|
|
@ -116,7 +116,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
|
||||
countsize = 0;
|
||||
countpos = 0;
|
||||
state_progress_begin(state, blockstart, blockmax, countmax);
|
||||
if (state_progress_begin(state, blockstart, blockmax, countmax))
|
||||
for(i=blockstart;i<blockmax;++i) {
|
||||
int one_invalid;
|
||||
int one_valid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue