]> 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>
Sat, 24 Feb 2018 20:37:49 +0000 (21:37 +0100)
thread-safety: s/exit/_exit()/g

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

index c4254866261051a978a6de859b66214e47c106f1..5366c21fe4d0e16cc92cc3eee31cdd6da30ec008 100644 (file)
@@ -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 */