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

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



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1167995590 0
# Node ID 5e44bd5ef9b814904024f167c10b4dd1fdcc1a10
# Parent  e43affb3cf41b5643e8baaa202ec159a44fa59d0
Fix xend stop if we're run directly instead of via the caretaker parent.
Signed-off-by: John Levon <john.levon@xxxxxxx>

Based on xen-unstable changeset 13233:10a6d7eff555ac428fc85c7ee575ccf22d502623
---
 tools/python/xen/xend/server/SrvDaemon.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e43affb3cf41 -r 5e44bd5ef9b8 tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Fri Jan 05 11:12:42 2007 +0000
+++ b/tools/python/xen/xend/server/SrvDaemon.py Fri Jan 05 11:13:10 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®.