summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-03-18 10:55:10 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-03-18 11:49:41 +0100
commit9e70a6d5e73b6972c89c6c1a7d611f9131dc2892 (patch)
tree6a2d4e746483866f32a3869c82ecd22384b3e27e /perl-install/diskdrake
parentb6749e32d7752456e8c553db87578c604f195c3f (diff)
downloaddrakx-9e70a6d5e73b6972c89c6c1a7d611f9131dc2892.tar
drakx-9e70a6d5e73b6972c89c6c1a7d611f9131dc2892.tar.gz
drakx-9e70a6d5e73b6972c89c6c1a7d611f9131dc2892.tar.bz2
drakx-9e70a6d5e73b6972c89c6c1a7d611f9131dc2892.tar.xz
drakx-9e70a6d5e73b6972c89c6c1a7d611f9131dc2892.zip
explain why we're cleaning (umounting)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 3bdfdce22..d1a0c28a9 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -899,6 +899,7 @@ filesystem checks will be run on your next boot into Microsoft Windows®"));
}
if (!run_program::run(qw(btrfs filesystem resize), $part->{size}*512, $dir)) {
$nice_resize{btrfs} = undef;
+ # we just mounted it in order to do online resize but online resize failed:
if (!$part->{isMounted}) {
fs::mount::umount($dir);
unlink($dir);