From fe1ce58c9ad0ff22cc30d276c463bbf4945c4cbf Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 23 Feb 2018 14:20:34 +0100 Subject: [PATCH] lxccontainer: do_lxcapi_get_ips() thread-safety: s/exit/_exit()/g Signed-off-by: Christian Brauner --- src/lxc/lxccontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index c42548662..5366c21fe 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -2317,7 +2317,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 */