summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index dcba0d267..58143023a 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -682,7 +682,9 @@ sub undo {
my $h; eval $code;
@$_{@partition_table::fields2save} = @$h;
- $_->{isDirty} = $_->{needKernelReread} = 1 if $_->{hasBeenDirty};
+ if ($_->{hasBeenDirty}) {
+ partition_table::will_tell_kernel($_, 'force_reboot'); #- next action needing write_partitions will force it. We can't do it now since more undo may occur, and we must not needReboot now
+ }
}
}