From: Christian Brauner Date: Fri, 23 Feb 2018 13:35:25 +0000 (+0100) Subject: network: lxc_netdev_move_wlan() X-Git-Tag: lxc-3.0.0.beta1~15^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd582aeea13e1167adf8892f81018c820f74a83;p=thirdparty%2Flxc.git network: lxc_netdev_move_wlan() thread-safety: s/exit()/_exit()/g Signed-off-by: Christian Brauner --- 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))