fix xend stop on Solaris
PATCH 1/1 fix xend stop on Solaris
Please apply to 3.0.4 and unstable
thanks
john
# HG changeset patch
# User [email protected]
# Date 1167957805 28800
# Node ID 025df834c81ab92d6dc21942beabfab11b787671
# Parent 8ddb59abd146760944632febdd0ba38c5f1d163a
Fix xend stop if we're run directly instead of via the caretaker parent.
Signed-off-by John Levon <[email protected]>
tools/python/xen/xend/server/SrvDaemon.py +1 -1
@@ -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: