git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15de7e0
)
virt-df: Turn errors into warnings when listing all domains.
author
Richard Jones
<rjones@redhat.com>
Tue, 17 Nov 2009 14:09:58 +0000
(14:09 +0000)
committer
Richard Jones
<rjones@redhat.com>
Tue, 17 Nov 2009 14:09:58 +0000
(14:09 +0000)
This is a partial fix for RHBZ#538041. When listing all domains,
don't die just because one domain fails, but keep trying for the
rest.
tools/virt-df
patch
|
blob
|
history
diff --git
a/tools/virt-df
b/tools/virt-df
index
78eb25c
..
6157e21
100755
(executable)
--- a/
tools/virt-df
+++ b/
tools/virt-df
@@
-165,7
+165,8
@@
if (@ARGV == 0) {
if (@domnames) {
print_title ();
foreach (@domnames) {
- do_df ($_);
+ eval { do_df ($_); };
+ warn $@ if $@;
}
}
} else {