]> git.ipfire.org Git - thirdparty/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>
Thu, 23 Aug 2018 20:21:09 +0000 (22:21 +0200)
thread-safety: s/exit()/_exit/g

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

index 8f52c4b2eafa3aae0ae5b0dd6c9f8f8e7de55f37..2ef279ca5f48316ff3a5bd2f437cffe3283c4686 100644 (file)
@@ -2007,7 +2007,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 */