diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-10 18:58:07 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-10 18:58:07 +0000 |
commit | 292b643f2f4d956e8e862bf784c1456851a09e2a (patch) | |
tree | 72836cc438c52cf6518755ae373e719281f8fe91 /res | |
parent | 13d8cb38c2875a2633abedd7969b90be2653085c (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.2@234213 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-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 0fd0efc74..492bf9872 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -618,6 +618,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); |