diff options
Diffstat (limited to 'src/ft_sfx_bb_scream.c')
-rw-r--r-- | src/ft_sfx_bb_scream.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ft_sfx_bb_scream.c b/src/ft_sfx_bb_scream.c index 7c68c53..c586184 100644 --- a/src/ft_sfx_bb_scream.c +++ b/src/ft_sfx_bb_scream.c @@ -31,11 +31,12 @@ void ref = (ref > 201) ? (0) : (ref + 1); if (ref % 3) { - if (system(sfx[14].cmd)) - pthread_exit(NULL); + system(sfx[14].cmd); + } + else + { + system(sfx[14].cmd_alt); } - else if (system(sfx[14].cmd_alt)) - pthread_exit(NULL); } return (NULL); } |