]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxccontainer: do_lxcapi_get_ips()
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 23 Feb 2018 13:20:34 +0000 (14:20 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Aug 2018 20:21:11 +0000 (22:21 +0200)
thread-safety: s/exit/_exit()/g

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

index 2ef279ca5f48316ff3a5bd2f437cffe3283c4686..93039322a2aa5efd82bee15ae77dba7126ae66d5 100644 (file)
@@ -2132,7 +2132,7 @@ static char** do_lxcapi_get_ips(struct lxc_container *c, const char* interface,
 
                /* 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 */