From eedf6bda1d70254ee9d298c0aca1c3c3c42d9aea Mon Sep 17 00:00:00 2001
From: Stephane Wirtel <stephane@tinyerp.com>
Date: Mon, 13 Oct 2008 23:32:36 +0200
Subject: [PATCH] Fix in the NT Service

bzr revid: stephane@tinyerp.com-20081013213236-ql03yu2cyr5kk750
---
 win32/OpenERPServerService.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/win32/OpenERPServerService.py b/win32/OpenERPServerService.py
index f6f071bc0827..24df255f1d22 100644
--- a/win32/OpenERPServerService.py
+++ b/win32/OpenERPServerService.py
@@ -95,9 +95,9 @@ class OpenERPServerService(win32serviceutil.ServiceFramework):
         # Log a info message that the server is running
         servicemanager.LogInfoMsg("OpenERP Server up and running")
         # verification if the server is really running, else quit with an error
-            self.terpprocess.wait()
-            if not self.stopping:
-                sys.exit("OpenERP Server check: server not running, check the logfile for more info")
+        self.terpprocess.wait()
+        if not self.stopping:
+            sys.exit("OpenERP Server check: server not running, check the logfile for more info")
 
 
 
-- 
GitLab