Children are no longer noisy when dying (don't I sound perverted)
authorDan
Sun, 24 Aug 2008 01:26:20 -0400
changeset 36 70ef461bbffa
parent 35 8040903d25de
child 37 65e70ada71c9
Children are no longer noisy when dying (don't I sound perverted)
greyhound.php
--- a/greyhound.php	Fri Aug 15 23:59:15 2008 -0400
+++ b/greyhound.php	Sun Aug 24 01:26:20 2008 -0400
@@ -84,7 +84,9 @@
 function sigterm($signal)
 {
   global $httpd;
-  status("Caught SIGTERM, cleaning up.");
+  if ( !defined('HTTPD_WS_CHILD') )
+    status("Caught SIGTERM, cleaning up.");
+  
   exit(0);
 }