Fix in the NT Service

bzr revid: stephane@tinyerp.com-20081013213236-ql03yu2cyr5kk750
This commit is contained in:
Stephane Wirtel 2008-10-13 23:32:36 +02:00
parent 262ca045db
commit eedf6bda1d
1 changed files with 3 additions and 3 deletions

View File

@ -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")