commit fd64fec3514a496b7e716a358f4b27c6ecdd9290 parent 859e17795956ea19742cff99450c135b9422aef7 Author: Jacob R. Edwards <jacobouno@protonmail.com> Date: Thu, 20 May 2021 15:42:55 -0700 Stop the player with SIGTERM instead of SIGINT Diffstat:
M | player.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/player.c b/player.c @@ -55,7 +55,7 @@ pstop(struct player *p) { if (p->state == STOPPED) ERET(EALREADY); - if (p->state & (RUNNING | SUSPENDED) && kill(p->pid, SIGINT) == -1) + if (p->state & (RUNNING | SUSPENDED) && kill(p->pid, SIGTERM) == -1) return 1; p->state = STOPPED; return 0;