summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning_wizard.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-23 19:28:05 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-23 19:28:05 +0000
commit9a85819bad00420ca8cb5965021f0dd76ec565ad (patch)
tree5e1b5f5afe81ecb4720b7a00ffb808e509de2a06 /perl-install/fs/partitioning_wizard.pm
parent3980ebfd98fe7be5cce63bdfba0c567a052d996a (diff)
downloaddrakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar
drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar.gz
drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar.bz2
drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar.xz
drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.zip
fix a crash when reloading partition table (mga#9838)
Diffstat (limited to 'perl-install/fs/partitioning_wizard.pm')
-rw-r--r--perl-install/fs/partitioning_wizard.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 0aa8f82f4..750e02816 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -39,6 +39,7 @@ sub partition_with_diskdrake {
$ok = 1;
my $do_force_reload = sub {
require File::Temp;
+ require fs::dmcrypt;
my (undef, $tmp_file) = File::Temp::mkstemp('/tmp/crypttab.XXXXXXX');
fs::dmcrypt::save_crypttab_($all_hds, $tmp_file);
my $new_hds = fs::get::empty_all_hds();