]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/start.c
Report container exit status to monitord
[mirror_lxc.git] / src / lxc / start.c
index 98849e10e721e9a5e2842f60ad7902dcc38f56c7..d9fbc8c40d974abdb9d3b28f82b24ffa03ebad64 100644 (file)
@@ -1139,6 +1139,7 @@ int __lxc_start(const char *name, struct lxc_conf *conf,
                handler->pinfd = -1;
        }
 
+       lxc_monitor_send_exit_code(name, status, handler->lxcpath);
        err =  lxc_error_set_and_log(handler->pid, status);
 out_fini:
        lxc_delete_network(handler);