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:
ee03a22
)
virt-df: Display domains in sorted order.
author
Richard Jones
<rjones@redhat.com>
Fri, 14 May 2010 18:42:48 +0000
(19:42 +0100)
committer
Richard Jones
<rjones@redhat.com>
Fri, 14 May 2010 18:42:48 +0000
(19:42 +0100)
tools/virt-df
patch
|
blob
|
history
diff --git
a/tools/virt-df
b/tools/virt-df
index
b997691
..
4aa1063
100755
(executable)
--- a/
tools/virt-df
+++ b/
tools/virt-df
@@
-163,7
+163,7
@@
if (@ARGV == 0) {
# https://bugzilla.redhat.com/show_bug.cgi?id=538041
@doms = grep { $_->get_id () != 0 } @doms;
- my @domnames =
map { $_->get_name () } @doms
;
+ my @domnames =
sort (map { $_->get_name () } @doms)
;
if (@domnames) {
print_title ();