Avoid to use log_fatal() for a not fatal condition

This commit is contained in:
Andrea Mazzoleni 2026-05-21 15:50:44 +02:00
parent 19b0b14b2e
commit 212a0ce6d1

View file

@ -286,7 +286,7 @@ int state_status(struct snapraid_state* state)
}
if (!count) {
log_fatal(EUSER, "The array is empty.\n");
printf("The array is empty.\n");
return 0;
}