remove an error message in lxc_wait.c that duplicate
an already existing error message in state.c
Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
while (token) {
state = lxc_str2state(token);
- if (state < 0) {
- ERROR("invalid state %s", token);
+ if (state < 0)
return -1;
- }
+
states[state] = 1;
token = strtok_r(NULL, "|", &saveptr);
if (!strcmp(strstate[i], state))
return i;
- ERROR("invalid specified state %s", state);
+ ERROR("invalid state '%s'", state);
return -1;
}