From: Christian Brauner Date: Fri, 23 Feb 2018 13:20:34 +0000 (+0100) Subject: lxccontainer: do_lxcapi_get_ips() X-Git-Tag: lxc-2.0.10~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a9f5834e5ffed5ada8b88276c98bc2ae632a346;p=thirdparty%2Flxc.git lxccontainer: do_lxcapi_get_ips() thread-safety: s/exit/_exit()/g Signed-off-by: Christian Brauner --- diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 2ef279ca5..93039322a 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -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 */