lxccontainer: is_stopped()

parent 07b0e033
...@@ -464,6 +464,7 @@ WRAP_API(const char *, lxcapi_state) ...@@ -464,6 +464,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