mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
More explicative rename message
Some commands don't have UUID, and cannot detect the rename.
This commit is contained in:
parent
a8e0214a9a
commit
f4289a9d7e
1 changed files with 3 additions and 0 deletions
|
|
@ -2425,6 +2425,9 @@ static void state_read_content(struct snapraid_state* state, const char* path, S
|
|||
decoding_error(path, f);
|
||||
log_fatal("Disk '%s' with uuid '%s' not present in the configuration file!\n", buffer, uuid);
|
||||
log_fatal("If you have removed it from the configuration file, please restore it\n");
|
||||
/* if it's a command without UUID, it cannot autorename using UUID */
|
||||
if (state->opt.skip_disk_access)
|
||||
log_fatal("If you have renamed it, run 'sync' to update the new name\n");
|
||||
exit(EXIT_FAILURE);
|
||||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue