mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xm: Remove redundant os.waitpid() call from do_console()
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
5f555eacb7
commit
57d9503643
1 file changed
-1
@@ -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))
|
||||
|
||||