]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
start: remove duplicate lxc_monitor_send_state()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 18 Feb 2018 21:19:51 +0000 (22:19 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 18 Feb 2018 21:19:51 +0000 (22:19 +0100)
Closes #2177.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index a64f6b64c47dfc3b51141200dd94bbff90e96f78..228dd260744879d0dece8531d1cb499fca2ec4df 100644 (file)
@@ -396,7 +396,6 @@ int lxc_serve_state_clients(const char *name, struct lxc_handler *handler,
        if (lxc_list_empty(&handler->conf->state_clients)) {
                TRACE("No state clients registered");
                process_unlock();
-               lxc_monitor_send_state(name, state, handler->lxcpath);
                return 0;
        }