mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Typo fix in a message.
This commit is contained in:
parent
4364dc1724
commit
a1b3c98c04
2 changed files with 3 additions and 3 deletions
2
TODO
2
TODO
|
|
@ -24,7 +24,7 @@ integrity check of the existing ones.
|
|||
It should restore only missing files, without recovering modified ones
|
||||
or check validity of data of existing ones.
|
||||
|
||||
* Implement a "dry" command to check the state of files, without doing any operation.
|
||||
* Implement a "probe" command to check the state of files, without doing any operation.
|
||||
It should prints all the changed, added and removed files.
|
||||
Alternatively a -dryrun option for "sync".
|
||||
|
||||
|
|
|
|||
4
scan.c
4
scan.c
|
|
@ -168,7 +168,7 @@ static void scan_file(struct snapraid_scan* scan, struct snapraid_state* state,
|
|||
if (strcmp(file->sub, sub) == 0) {
|
||||
if (!state->force_zero) {
|
||||
fprintf(stderr, "The file '%s' in disk '%s' at dir '%s' has now zero size!\n", sub, disk->name, disk->dir);
|
||||
fprintf(stderr, "If it's really what you want to sync it, use 'snapraid --force-zero sync\n");
|
||||
fprintf(stderr, "If you really want to sync, use 'snapraid --force-zero sync'\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
|
@ -354,7 +354,7 @@ void state_scan(struct snapraid_state* state)
|
|||
if (scan[i].count_equal == 0 && scan[i].count_moved == 0 && scan[i].count_remove != 0) {
|
||||
if (!state->force_empty) {
|
||||
fprintf(stderr, "All the files in disk '%s' at dir '%s' are missing!\n", disk->name, disk->dir);
|
||||
fprintf(stderr, "If it's really what you want to sync it, use 'snapraid --force-empty sync\n");
|
||||
fprintf(stderr, "If you really want to sync, use 'snapraid --force-empty sync'\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue