X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=tools%2Fvirt-resize;h=fcd076f809b499b8cc53bcc4db0cd4885b73a933;hp=5ced4ddc9692b6b499bdb59b7f0a0fec89f2445b;hb=ba099ee689b42dd71b05d12583d69424fcfbc217;hpb=c53e64a156526adcb9937f63756f17f585f202d3;ds=sidebyside diff --git a/tools/virt-resize b/tools/virt-resize index 5ced4dd..fcd076f 100755 --- a/tools/virt-resize +++ b/tools/virt-resize @@ -615,7 +615,7 @@ sub examine_partition if ($type eq "LVM2_member") { $partitions{$part}->{can_expand_content} = 1; $partitions{$part}->{expand_content_method} = "pvresize"; - } elsif ($type =~ /^ext[234]/) { + } elsif ($type =~ /^ext[234]$/) { $partitions{$part}->{can_expand_content} = 1; $partitions{$part}->{expand_content_method} = "resize2fs"; } elsif ($type eq "ntfs" && feature_available ($g, "ntfsprogs")) {