ia64/xen-unstable

changeset 13269:10a6d7eff555

Fix xend stop if we're run directly instead of via the caretaker parent.
Signed-off-by: John Levon <john.levon@sun.com>
author kfraser@localhost.localdomain
date Fri Jan 05 10:58:48 2007 +0000 (2007-01-05)
parents 344c8ae3cecb
children 68f0d46de55a
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Fri Jan 05 10:55:55 2007 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Fri Jan 05 10:58:48 2007 +0000
     1.3 @@ -203,7 +203,7 @@ class Daemon:
     1.4  
     1.5                  if not osdep.xend_autorestart:
     1.6                      self.run(os.fdopen(w, 'w'))
     1.7 -                    break
     1.8 +                    os._exit(0)
     1.9  
    1.10                  pid = self.fork_pid()
    1.11                  if pid: