mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-11 20:21:23 +00:00
Merge pull request #1661 from 0x0916/2017-07-01/fix-set-state-error
start: send state to legacy lxc-monitord state server even if no state clients registered
This commit is contained in:
commit
fe9a13f700
@ -359,6 +359,7 @@ int lxc_set_state(const char *name, struct lxc_handler *handler,
|
||||
if (lxc_list_empty(&handler->state_clients)) {
|
||||
TRACE("no state clients registered");
|
||||
process_unlock();
|
||||
lxc_monitor_send_state(name, state, handler->lxcpath);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user