mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
More explicative message for --force-empty.
This commit is contained in:
parent
22a2c9e124
commit
1449a85f41
1 changed files with 1 additions and 1 deletions
2
scan.c
2
scan.c
|
|
@ -390,7 +390,7 @@ void state_scan(struct snapraid_state* state, int output)
|
|||
/* if all the previous file were removed */
|
||||
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, "All the files previously present in disk '%s' at dir '%s' are now missing or overwritten!\n", disk->name, disk->dir);
|
||||
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