[Freeswitch-svn] [commit] r10335 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Tue Nov 11 11:27:50 PST 2008


Author: anthm
Date: Tue Nov 11 14:27:49 2008
New Revision: 10335

Log:
sigterm works again

Modified:
   freeswitch/trunk/src/switch.c

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Tue Nov 11 14:27:49 2008
@@ -123,7 +123,7 @@
 		}
 #else
 		/* for unix, send the signal to kill. */
-		kill(pid, SIGILL);
+		kill(pid, SIGTERM);
 #endif
 	}
 
@@ -566,6 +566,7 @@
 	}
 
 	signal(SIGILL, handle_SIGILL);
+	signal(SIGTERM, handle_SIGILL);
 
 	if (nc) {
 #ifdef WIN32



More information about the Freeswitch-svn mailing list