diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-30 09:46:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-30 09:46:01 +0000 |
commit | 775b965f86f890f93c3f27905a4ab7252e719c81 (patch) | |
tree | 2a8b40ffc1fc66b6694ffb7ebf8f553ba6cde5f9 /perl-install/fs | |
parent | aec4caf0d518b047cb4080766b332144b828eaa3 (diff) | |
download | drakx-775b965f86f890f93c3f27905a4ab7252e719c81.tar drakx-775b965f86f890f93c3f27905a4ab7252e719c81.tar.gz drakx-775b965f86f890f93c3f27905a4ab7252e719c81.tar.bz2 drakx-775b965f86f890f93c3f27905a4ab7252e719c81.tar.xz drakx-775b965f86f890f93c3f27905a4ab7252e719c81.zip |
- skip comments in /etc/crypttab (mga#9905)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/dmcrypt.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm index 0e5c3c19e..0cb73a848 100644 --- a/perl-install/fs/dmcrypt.pm +++ b/perl-install/fs/dmcrypt.pm @@ -33,6 +33,7 @@ sub read_crypttab_ { my @raw_parts = grep { fs::type::isRawLUKS($_) } fs::get::really_all_fstab($all_hds); foreach (cat_($crypttab)) { + next if /^#/; my ($dm_name, $dev) = split; my $raw_part = fs::get::device2part($dev, \@raw_parts) |