From: Christian Brauner Date: Fri, 23 Feb 2018 13:19:34 +0000 (+0100) Subject: lxccontainer: do_lxcapi_get_interfaces() X-Git-Tag: lxc-3.0.0.beta1~15^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02c611b013c7fb35077979e87674836f33432b5f;p=thirdparty%2Flxc.git lxccontainer: do_lxcapi_get_interfaces() thread-safety: s/exit()/_exit/g Signed-off-by: Christian Brauner --- diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 6768333a0..c42548662 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -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 */