mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 12:37:35 +00:00
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:
parent
02c611b013
commit
fe1ce58c9a
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user