mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -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
4
TODO
4
TODO
|
|
@ -3,7 +3,7 @@ SnapRAID TODO
|
|||
|
||||
This is the list of TODO items for SnapRAID.
|
||||
|
||||
- v1.10
|
||||
- v1.11
|
||||
|
||||
* In the repair() function the euristic to detect if we recovered after the sync, can be extended
|
||||
to all the subsequent blocks, because we always proceeed in block order during a sync.
|
||||
|
|
@ -29,8 +29,6 @@ the filtered data to check, and not the one needed to compute the parity.
|
|||
* In fix an existing symlink with the same name of a file to be recovered may stop
|
||||
the process making the create() operation to fail.
|
||||
|
||||
* Recheck the 2nd issue reported at: https://sourceforge.net/projects/snapraid/forums/forum/1677233/topic/4747897
|
||||
|
||||
* If a directory exists with the same name of a parity/content file be more explicative
|
||||
on the error message. See: https://sourceforge.net/projects/snapraid/forums/forum/1677233/topic/4861034
|
||||
|
||||
|
|
|
|||
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