From 2338814c2f84d1aa7bede235703a0b85a10a9dcf Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Wed, 9 Nov 2011 13:25:54 +0000 Subject: Fix forking to the background --- saslauthd/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'saslauthd') diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py index 1cffa2b..c74b39c 100644 --- a/saslauthd/__init__.py +++ b/saslauthd/__init__.py @@ -68,8 +68,9 @@ class SASLAuthDaemon(object): if pid == 0: log.remove_stdout_handler() - - self.do_saslauthd() + self.do_saslauthd() + elif not conf.fork_mode: + self.do_saslauthd() except SystemExit, e: exitcode = e -- cgit v1.1