diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 00:52:05 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 00:52:05 +0000 |
commit | 171a7752a8fab0e1c55be1469a331ef20a7b3755 (patch) | |
tree | 33a74b690d0567116d4ab8d681d6499a232ecb9c /src/player.c | |
parent | 8c4bc2d2d499951107572b10e5a99ab2913f3aea (diff) | |
download | mpd-171a7752a8fab0e1c55be1469a331ef20a7b3755.tar.gz mpd-171a7752a8fab0e1c55be1469a331ef20a7b3755.tar.xz mpd-171a7752a8fab0e1c55be1469a331ef20a7b3755.zip |
add --only-create-db option from msells
have SIGHUP cause rereading db file
git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/player.c | 1 |
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); |