projects
/
invirt/packages/invirt-remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modified invirt-availability and invirt-vmcontrol to stat /etc/invirt/nocreate.
[invirt/packages/invirt-remote.git]
/
host
/
usr
/
sbin
/
invirt-listvms
diff --git
a/host/usr/sbin/invirt-listvms
b/host/usr/sbin/invirt-listvms
index
890931a
..
c16a883
100755
(executable)
--- a/
host/usr/sbin/invirt-listvms
+++ b/
host/usr/sbin/invirt-listvms
@@
-17,7
+17,7
@@
def live_vms():
name, data = get_dom(int(domid))
except (xs.Error, TypeError):
continue # went down since we started
- if name.startswith('d_'):
+ if name is not None and name.startswith('d_'):
name = name[2:]
vms[name] = data
return vms