From: Jeremy McNamara Date: Sun, 11 Jan 2004 03:31:30 +0000 (+0000) Subject: Don't core on mpg123. Bug #671 X-Git-Tag: 0.7.0~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ae49b9ccd44d18d6a170fcf0433b5bc6c08c941;p=thirdparty%2Fasterisk.git Don't core on mpg123. Bug #671 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1928 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index f6a3d5b014..2ff101e1cd 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; }