aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/directory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 17d91631c..ec4b1f19d 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -30,6 +30,7 @@
#include "interface.h"
#include "volume.h"
#include "mpd_types.h"
+#include "sig_handlers.h"
#include <string.h>
#include <sys/types.h>
@@ -130,6 +131,7 @@ int updateInit(FILE * fp) {
sigaction(SIGPIPE,&sa,NULL);
sigaction(SIGCHLD,&sa,NULL);
+ finishSigHandlers();
close(listenSocket);
freeAllInterfaces();
finishPlaylist();