summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kolabd/process.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kolabd/process.py b/kolabd/process.py
index f5f5352..70b535a 100644
--- a/kolabd/process.py
+++ b/kolabd/process.py
@@ -43,7 +43,10 @@ class KolabdProcess(multiprocessing.Process):
auth = Auth(domain)
auth.connect(domain)
auth.synchronize()
+ except KeyboardInterrupt:
+ break
except Exception, errmsg:
log.error(_("Error in process %r, terminating:\n\t%r") % (self.name, errmsg))
import traceback
traceback.print_exc()
+ time.sleep(1)