aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_warp_level.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 21:03:07 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 21:03:07 +0100
commit874d8d3bbafb3d1919cfc6f21fdb780382f0d015 (patch)
tree6e1f455634bb1b5810e50e2c6e9e3515954ccf29 /src/ft_warp_level.c
parentFuck execve (diff)
download42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.gz
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.bz2
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.xz
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.zst
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.zip
boy
Diffstat (limited to 'src/ft_warp_level.c')
-rw-r--r--src/ft_warp_level.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c
index 9bd8d92..2721aca 100644
--- a/src/ft_warp_level.c
+++ b/src/ft_warp_level.c
@@ -76,8 +76,8 @@ static void
else if (isoldmus && cl->mlist.ismusic
&& ft_strncmp(tmp_mup, cl->mlist.music_path, ft_strlen(tmp_mup) + 1))
{
- /* kill(cl->mpid, SIGTERM); */
- /* wait(&cl->mpid); */
+ kill(cl->mpid, SIGTERM);
+ wait(&cl->mpid);
/* cl->mpid = fork(); */
/* if (cl->mpid == 0) */
/* ft_music_fork(cl->mlist.mcmd_words); */