Print a warning about content files in the same disk

This commit is contained in:
Andrea Mazzoleni 2017-09-17 18:44:33 +02:00
parent 225c74d150
commit 5f137fae9a

View file

@ -431,6 +431,7 @@ static void state_config_check(struct snapraid_state* state, const char* path, t
for (j = i->next; j != 0; j = j->next) {
struct snapraid_content* other = j->data;
if (content->device == other->device) {
log_fatal("WARNING! Content files on the same disk: '%s' and '%s'.\n", content->content, other->content);
break;
}
}