diff options
author | Richard Jones <rjones@redhat.com> | 2010-05-14 19:42:48 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-05-14 19:42:48 +0100 |
commit | 5d5565ca24b95719461b0c0aebdb0651dd2671ca (patch) | |
tree | 62e0534a4b27818ab3163627c1e27960c98c8cbb /tools/virt-df | |
parent | ee03a22f4107dd8c04e72e6a843897ad23549547 (diff) | |
download | libguestfs-5d5565ca24b95719461b0c0aebdb0651dd2671ca.tar.gz libguestfs-5d5565ca24b95719461b0c0aebdb0651dd2671ca.tar.xz libguestfs-5d5565ca24b95719461b0c0aebdb0651dd2671ca.zip |
virt-df: Display domains in sorted order.
Diffstat (limited to 'tools/virt-df')
-rwxr-xr-x | tools/virt-df | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virt-df b/tools/virt-df index b997691c..4aa1063d 100755 --- 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 (); |