From e78ce30b4cf0fafa1cbe742e25d92690e558fdf0 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 22 Apr 2010 12:47:49 +0000 Subject: do not write partition table after partition creation if not needed --- perl-install/diskdrake/interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 435500dbb..fb83cb6f9 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -551,8 +551,8 @@ First remove a primary partition and create an extended partition.")); }, ) or return; - write_partitions($in, $hd) or return; if ($use_dmcrypt) { + write_partitions($in, $hd) or return; # Initialize it and format it dmcrypt_format($in, $hd, $part, $all_hds); my $p = find { $part->{dm_name} eq $_->{dmcrypt_name} } @{$all_hds->{dmcrypts}}; -- cgit v1.2.1