aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-11 03:31:30 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-11 03:31:30 +0000
commit4942b0387816dab43722766fb2b31ac4664cb5d0 (patch)
tree0a49a06dbf6e29b6aa10d37dd828af314f3a300a /res
parent3501f0fd3c4db2bb50ee606e3d8802e5394b5856 (diff)
Don't core on mpg123. Bug #671
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1928 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-xres/res_musiconhold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index f6a3d5b01..2ff101e1c 100755
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -586,7 +586,7 @@ static void ast_moh_destroy(void)
if (moh->pid) {
ast_log(LOG_DEBUG, "killing %d!\n", moh->pid);
stime = time(NULL);
- kill(moh->pid, SIGABRT);
+ kill(moh->pid, SIGKILL);
while ((bytes = read(moh->srcfd, buff, 8192)) && time(NULL) < stime + 5) {
tbytes = tbytes + bytes;
}