Skip to content

Commit

Permalink
network: lxc_netdev_move_wlan()
Browse files Browse the repository at this point in the history
thread-safety: s/exit()/_exit()/g

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 24, 2018
1 parent 05ec44f commit ebd582a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/network.c
Expand Up @@ -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))
Expand Down

0 comments on commit ebd582a

Please sign in to comment.