diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-10 18:57:29 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-10 18:57:29 +0000 |
commit | dcd2549ccaea1bdddd4e74108f17a0c85d43646e (patch) | |
tree | b504e4d62e7ab614c24de2a24a7ba8b3614dc354 | |
parent | 13d07b6c678d5634c6388d0a8e20d8df522cb9d7 (diff) |
Merged revisions 234210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r234210 | tilghman | 2009-12-10 12:56:23 -0600 (Thu, 10 Dec 2009) | 2 lines
Missed a case that emits a WARNING where none is warranted.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@234211 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | res/res_musiconhold.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index b0bc5b3e0..2df7d80e3 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -620,6 +620,9 @@ static void *monmp3thread(void *data) if (class->pid > 1) { do { if (killpg(class->pid, SIGHUP) < 0) { + if (errno == ESRCH) { + break; + } ast_log(LOG_WARNING, "Unable to send a SIGHUP to MOH process?!!: %s\n", strerror(errno)); } usleep(100000); |