X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/1124e4cffe9f74493ebe861baac4deb3ccc338b1..c6003dd7f5cab27e9782b94617ffde59f2db331a:/code/controls.py diff --git a/code/controls.py b/code/controls.py index 622dd50..bb6c590 100644 --- a/code/controls.py +++ b/code/controls.py @@ -176,7 +176,7 @@ def statusInfo(machine): if 'Unknown command' in err_string: raise CodeError("ERROR in remctl list-long %s is not registered" % (machine.name,)) - elif 'does not exist' in err_string: + elif 'is not on' in err_string: return None elif err_string: raise CodeError("ERROR in remctl list-long %s: %s" %