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