Give a reasonable value to blockcur in case of alert failure

This commit is contained in:
Andrea Mazzoleni 2026-05-21 12:49:47 +02:00
parent 81995ccc8d
commit c2969f11ba
3 changed files with 3 additions and 0 deletions

View file

@ -729,6 +729,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
countsize = 0;
countpos = 0;
blockcur = blockstart;
msg_progress("Syncing...\n");