summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kolabd/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 557957d..0e7f756 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -62,6 +62,7 @@ class KolabDaemon(object):
try:
if self.conf.fork_mode:
+ self.thread_count += 1
pid = os.fork()
else:
self.do_sync()