greyhound.php
changeset 36 70ef461bbffa
parent 34 3b817b961984
child 40 bd3372a2afc1
--- 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);
 }