[asterisk-commits] tilghman: trunk r234210 - /trunk/res/res_musiconhold.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 10 12:56:26 CST 2009
Author: tilghman
Date: Thu Dec 10 12:56:23 2009
New Revision: 234210
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234210
Log:
Missed a case that emits a WARNING where none is warranted.
Modified:
trunk/res/res_musiconhold.c
Modified: trunk/res/res_musiconhold.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_musiconhold.c?view=diff&rev=234210&r1=234209&r2=234210
==============================================================================
--- trunk/res/res_musiconhold.c (original)
+++ trunk/res/res_musiconhold.c Thu Dec 10 12:56:23 2009
@@ -644,6 +644,9 @@
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);
More information about the asterisk-commits
mailing list