From ebd582aeea13e1167adf8892f81018c820f74a83 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 23 Feb 2018 14:35:25 +0100 Subject: [PATCH] network: lxc_netdev_move_wlan() thread-safety: s/exit()/_exit()/g Signed-off-by: Christian Brauner --- src/lxc/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/network.c b/src/lxc/network.c index 9fe7ef5ce..145131e30 100644 --- a/src/lxc/network.c +++ b/src/lxc/network.c @@ -663,7 +663,7 @@ static int lxc_netdev_move_wlan(char *physname, const char *ifname, pid_t pid, sprintf(pidstr, "%d", pid); execlp("iw", "iw", "phy", physname, "set", "netns", pidstr, (char *)NULL); - exit(EXIT_FAILURE); + _exit(EXIT_FAILURE); } if (wait_for_pid(fpid))