6466 importer sporadically fails with traceback with cpio error in111a os200906_b3
authorDanek Duvall <danek.duvall@sun.com>
Fri, 17 Apr 2009 14:35:12 -0700
changeset 1065 02ad3f8f9c38
parent 1064 44a36244e83a
child 1066 27de8c431019
6466 importer sporadically fails with traceback with cpio error
src/modules/server/catalog.py
--- a/src/modules/server/catalog.py	Fri Apr 17 14:00:43 2009 -0700
+++ b/src/modules/server/catalog.py	Fri Apr 17 14:35:12 2009 -0700
@@ -70,7 +70,7 @@
                 # time.
                 self.searchdb_update_handle_lock = threading.Lock()
 
-                if os.name == 'posix':
+                if os.name == "posix" and self.fork_allowed:
                         try:
                                 signal.signal(signal.SIGCHLD,
                                     self.child_handler)