mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
If no file is present, prints a message about nothing to do.
This commit is contained in:
parent
7c2b48fbb4
commit
7ee0c0f5ef
2 changed files with 3 additions and 3 deletions
2
sync.c
2
sync.c
|
|
@ -410,6 +410,8 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
|
|||
++unrecoverable_error;
|
||||
/* continue, as we are already exiting */
|
||||
}
|
||||
} else {
|
||||
printf("Nothing to do\n");
|
||||
}
|
||||
|
||||
ret = parity_sync(parity_ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue