[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix xend stop if we're run directly instead of via the caretaker parent.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1167994728 0
# Node ID 10a6d7eff555ac428fc85c7ee575ccf22d502623
# Parent  344c8ae3cecb3eda0757f8f33088ec765a12eba8
Fix xend stop if we're run directly instead of via the caretaker parent.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/python/xen/xend/server/SrvDaemon.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 344c8ae3cecb -r 10a6d7eff555 tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Fri Jan 05 10:55:55 2007 +0000
+++ b/tools/python/xen/xend/server/SrvDaemon.py Fri Jan 05 10:58:48 2007 +0000
@@ -203,7 +203,7 @@ class Daemon:
 
                 if not osdep.xend_autorestart:
                     self.run(os.fdopen(w, 'w'))
-                    break
+                    os._exit(0)
 
                 pid = self.fork_pid()
                 if pid:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.