lxccontainer: do_lxcapi_get_ips()

thread-safety: s/exit/_exit()/g

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-02-23 14:20:34 +01:00
parent 02c611b013
commit fe1ce58c9a
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View 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 the write-end of the pipe, thus sending EOF to the reader */
close(pipefd[1]); close(pipefd[1]);
exit(ret); _exit(ret);
} }
/* close the write-end of the pipe */ /* close the write-end of the pipe */