summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index af9109b9e..68cfeaee8 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -711,7 +711,6 @@ sub Resize {
undef $@;
my $_b = before_leaving { $@ and $part->{size} = $oldsize };
- my $wait = $in->wait_message(N("Resizing"), '');
my $adjust = sub {
my ($write_partitions) = @_;
@@ -728,6 +727,8 @@ sub Resize {
$adjust->(1) or return if $size > $oldsize;
+ my $wait = $in->wait_message(N("Resizing"), '');
+
if ($nice_resize{fat}) {
local *log::l = sub { $wait->set(join(' ', @_)) };
$nice_resize{fat}->resize($part->{size});