bitkeeper revision 1.1159.122.1 (4177c41conAxvsSnGCUYzYBlBVfqCQ)

Fix init.d/xendomains.
This commit is contained in:
cl349@freefall.cl.cam.ac.uk committed 2004-10-21 14:13:48 +00:00
1 parent 7c7bed5754
commit 5c18f70977
3 files changed
+17 -6

No files matched your search

+3 -2
View File
@@ -46,7 +46,7 @@ def shutdown(opts, doms, mode, wait):
server.xend_domain_shutdown(d, mode)
if wait:
while doms:
alive = domains()
alive = server.xend_domains()
dead = []
for d in doms:
if d in alive: continue
@@ -73,7 +73,8 @@ def shutdown_mode(opts):
return mode
def main_all(opts, args):
shutdown(opts, None, opts.vals.wait)
mode = shutdown_mode(opts)
shutdown(opts, None, mode, opts.vals.wait)
def main_dom(opts, args):
if len(args) < 1: opts.err('Missing domain')
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.