diff options
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/dmcrypt.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm index 21175c2de..c80f03112 100644 --- a/perl-install/fs/dmcrypt.pm +++ b/perl-install/fs/dmcrypt.pm @@ -139,9 +139,7 @@ sub close_part { @$dmcrypts = grep { $_ != $dm_part } @$dmcrypts; substInFile { my ($name, $_dev) = split; - if ($name eq $part->{dm_name}) { - $_ = ''; - } + undef $_ if $name eq $part->{dm_name}; } _crypttab(); } |