]> 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>
Wed, 21 Feb 2018 16:59:40 +0000 (17:59 +0100)
Closes #2177.

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

index fb11688bd037c997ca4cd9bc4794c93e915b06e9..b31747dc9624c8eb38b6752a30e230c292a0e4e0 100644 (file)
@@ -387,7 +387,6 @@ int lxc_serve_state_clients(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;
        }