projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a different errortext-matching mismatch
[invirt/packages/invirt-web.git]
/
code
/
controls.py
diff --git
a/code/controls.py
b/code/controls.py
index
9c43a41
..
b4740d4
100644
(file)
--- a/
code/controls.py
+++ b/
code/controls.py
@@
-97,7
+97,7
@@
def bootMachine(machine, cdtype):
else:
out, err = remctl('control', machine.name, 'create',
err=True)
- if 'already exists' in out:
+ if 'already running' in err:
raise InvalidInput('action', 'create',
'VM %s is already on' % machine.name)
elif err: