diff --git a/src/lxc/state.c b/src/lxc/state.c index b3e6f83f8..0fb0e2d64 100644 --- a/src/lxc/state.c +++ b/src/lxc/state.c @@ -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;