]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
network: lxc_netdev_move_wlan()
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 23 Feb 2018 13:35:25 +0000 (14:35 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 24 Feb 2018 20:37:58 +0000 (21:37 +0100)
thread-safety: s/exit()/_exit()/g

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

index 9fe7ef5ced7d4142188e1aac84f51f4530a072b0..145131e3070a5e5fa9b725d30f474822837505f4 100644 (file)
@@ -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))