2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 08:35:44 +00:00

lxccontainer: do_lxcapi_state()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2018-02-24 15:17:15 +01:00
parent 428ad142f2
commit b547d79fb9

View File

@@ -458,6 +458,7 @@ static const char *do_lxcapi_state(struct lxc_container *c)
if (!c)
return NULL;
s = lxc_getstate(c->name, c->config_path);
return lxc_state2str(s);
}