mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-04 08:57:20 +00:00
lxccontainer: do_lxcapi_state()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
428ad142f2
commit
b547d79fb9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user