ia64/xen-unstable

changeset 19728:50cf07f42fdd

xm: Remove redundant os.waitpid() call from do_console()
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 04 10:57:39 2009 +0100 (2009-06-04)
parents abdd365e2ec3
children 43833a6d50a5
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Thu Jun 04 10:48:45 2009 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Thu Jun 04 10:57:39 2009 +0100
     1.3 @@ -1407,7 +1407,6 @@ def do_console(domain_name):
     1.4                  # the child process used to do this has detached
     1.5                  print("Domain has already finished");
     1.6                  break
     1.7 -            (p, rv) = os.waitpid(cpid, os.WNOHANG)
     1.8              if os.WIFEXITED(rv):
     1.9                  if os.WEXITSTATUS(rv) != 0:
    1.10                      sys.exit(os.WEXITSTATUS(rv))