mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-09 20:55:22 +00:00
network: lxc_netdev_move_wlan()
thread-safety: s/exit()/_exit()/g Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
05ec44f842
commit
ebd582aeea
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user