]> granicus.if.org Git - php/commitdiff
Fix FastCGI shutdown for MacOSX, it didn't want to die.
authorBen Mansell <joosters@php.net>
Mon, 2 Jul 2001 12:37:47 +0000 (12:37 +0000)
committerBen Mansell <joosters@php.net>
Mon, 2 Jul 2001 12:37:47 +0000 (12:37 +0000)
sapi/fastcgi/fastcgi.c

index 7a4dd1a621ceb66b5135ef45fd83ea1c29c255da..7fd65bdb347e61a5820e53d452ee56392dada65d 100644 (file)
@@ -312,6 +312,9 @@ void fastcgi_cleanup(int signal)
 
        /* Kill all the processes in our process group */
        kill( -pgroup, SIGTERM );
+
+       /* We should exit at this point, but MacOSX doesn't seem to */
+       exit( 0 );
 }