]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxccontainer: do_lxcapi_get_interfaces()
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 23 Feb 2018 13:19:34 +0000 (14:19 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 24 Feb 2018 20:37:47 +0000 (21:37 +0100)
thread-safety: s/exit()/_exit/g

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

index 6768333a0443f7745138884f53196537832cd3c5..c4254866261051a978a6de859b66214e47c106f1 100644 (file)
@@ -2192,7 +2192,7 @@ static char ** do_lxcapi_get_interfaces(struct lxc_container *c)
 
                /* close the write-end of the pipe, thus sending EOF to the reader */
                close(pipefd[1]);
-               exit(ret);
+               _exit(ret);
        }
 
        /* close the write-end of the pipe */