aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index e74abaa3d..4efe55679 100644
--- a/src/player.c
+++ b/src/player.c
@@ -103,6 +103,7 @@ int playerInit() {
sa.sa_handler = SIG_IGN;
sigaction(SIGPIPE,&sa,NULL);
+ sigaction(SIGHUP,&sa,NULL);
sa.sa_handler = decodeSigHandler;
sigaction(SIGCHLD,&sa,NULL);
sigaction(SIGTERM,&sa,NULL);