lxccontainer: do_lxcapi_is_running()

parent 5bddcb62
......@@ -479,9 +479,11 @@ static bool do_lxcapi_is_running(struct lxc_container *c)
if (!c)
return false;
s = do_lxcapi_state(c);
if (!s || strcmp(s, "STOPPED") == 0)
return false;
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment