summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/dmcrypt.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm
index eddf669ef..21175c2de 100644
--- a/perl-install/fs/dmcrypt.pm
+++ b/perl-install/fs/dmcrypt.pm
@@ -137,6 +137,12 @@ sub close_part {
_run_or_die('luksClose', devices::make($dm_part->{device}));
$part->{dm_active} = 0;
@$dmcrypts = grep { $_ != $dm_part } @$dmcrypts;
+ substInFile {
+ my ($name, $_dev) = split;
+ if ($name eq $part->{dm_name}) {
+ $_ = '';
+ }
+ } _crypttab();
}
sub _run_or_die {