X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/907f34a95f096535be1b47e99f37b063a2a8245c..d3c4f5d1afd61acfc10098cc309b00f851ee9288:/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" %