aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_music.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_music.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_music.c b/src/ft_music.c
index 7688f57..aec5e58 100644
--- a/src/ft_music.c
+++ b/src/ft_music.c
@@ -23,6 +23,7 @@ void
cl = (t_cub *)vargp;
cl->isoldmus = 1;
+ pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
while (1)
system(cl->mlist.music_cmd);
return (NULL);