xm: Remove redundant os.waitpid() call from do_console()

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-06-04 10:57:39 +01:00
1 parent 5f555eacb7
commit 57d9503643
1 file changed
-1
-1
View File
@@ -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))
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.