state: remove tautological check

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-10-20 11:32:04 +02:00
parent e69abbb1fa
commit 961b6f4431
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -135,11 +135,6 @@ int lxc_wait(const char *lxcname, const char *states, int timeout,
(void)nanosleep(&onesec, NULL);
}
if (state < 0) {
ERROR("Failed to retrieve state from monitor");
return -1;
}
TRACE("Retrieved state of container %s", lxc_state2str(state));
if (!s[state])
return -1;