summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index ba53acf62..b4072ec4a 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -652,13 +652,15 @@ sub Resize {
system "resize_reiserfs", "-f", "-q", "-s" . $part->{size}/2 . "K", devices::make($part->{device});
} elsif ($nice_resize{xfs}) {
system "xfs_growfs", $part->{mntpoint};
+ }
+
+ if (%nice_resize) {
+ $part->{isFormatted} = 1;
} else {
$part->{notFormatted} = 1;
$part->{isFormatted} = 0;
partition_table::verifyParts($hd);
- return;
}
- $part->{isFormatted} = 1;
if (isLVM($hd)) {
lvm::lv_resize($part, $oldsize) if $size < $oldsize;