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
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

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);
}