--- 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);
}