git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename superclass member to up in netdev-pltap
[sliver-openvswitch.git]
/
utilities
/
ovs-check-dead-ifs.in
diff --git
a/utilities/ovs-check-dead-ifs.in
b/utilities/ovs-check-dead-ifs.in
index
53185d6
..
9b806ed
100755
(executable)
--- a/
utilities/ovs-check-dead-ifs.in
+++ b/
utilities/ovs-check-dead-ifs.in
@@
-62,7
+62,12
@@
for pid in os.listdir("/proc"):
except ValueError:
continue
- for fd in os.listdir("/proc/%d/fd" % pid):
+ try:
+ fds = os.listdir("/proc/%d/fd" % pid)
+ except OSError:
+ continue
+
+ for fd in fds:
try:
fd = int(fd)
except ValueError: