lxccontainer: is_stopped()

parent b547d79f
...@@ -468,6 +468,7 @@ WRAP_API(const char *, lxcapi_state) ...@@ -468,6 +468,7 @@ WRAP_API(const char *, lxcapi_state)
static bool is_stopped(struct lxc_container *c) static bool is_stopped(struct lxc_container *c)
{ {
lxc_state_t s; lxc_state_t s;
s = lxc_getstate(c->name, c->config_path); s = lxc_getstate(c->name, c->config_path);
return (s == STOPPED); return (s == STOPPED);
} }
......
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