[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xm: Remove redundant os.waitpid() call from do_console()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1244109459 -3600 # Node ID 50cf07f42fddb4b9cc387a1b0b80bae5d9f05095 # Parent abdd365e2ec3d9a1cc45c5b083465652e0d0ffe9 xm: Remove redundant os.waitpid() call from do_console() Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/python/xen/xm/create.py | 1 - 1 files changed, 1 deletion(-) diff -r abdd365e2ec3 -r 50cf07f42fdd tools/python/xen/xm/create.py --- a/tools/python/xen/xm/create.py Thu Jun 04 10:48:45 2009 +0100 +++ b/tools/python/xen/xm/create.py Thu Jun 04 10:57:39 2009 +0100 @@ -1407,7 +1407,6 @@ def do_console(domain_name): # the child process used to do this has detached print("Domain has already finished"); break - (p, rv) = os.waitpid(cpid, os.WNOHANG) if os.WIFEXITED(rv): if os.WEXITSTATUS(rv) != 0: sys.exit(os.WEXITSTATUS(rv)) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |