From 874d8d3bbafb3d1919cfc6f21fdb780382f0d015 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 6 Mar 2020 21:03:07 +0100 Subject: boy --- src/ft_warp_level.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_warp_level.c') 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); */ -- cgit v1.2.3