summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-06 12:54:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-06 12:54:11 +0000
commit8296a2ef96c5a86c0c87a323da7be2b57e5469c8 (patch)
tree5075bc05b92467bd49f1067e8f52610baf94efbd /perl-install/fs/format.pm
parentccd4372a2c6ed464b5c5295eb964566cdd3d5477 (diff)
downloaddrakx-8296a2ef96c5a86c0c87a323da7be2b57e5469c8.tar
drakx-8296a2ef96c5a86c0c87a323da7be2b57e5469c8.tar.gz
drakx-8296a2ef96c5a86c0c87a323da7be2b57e5469c8.tar.bz2
drakx-8296a2ef96c5a86c0c87a323da7be2b57e5469c8.tar.xz
drakx-8296a2ef96c5a86c0c87a323da7be2b57e5469c8.zip
restore progress bar when formatting ext3
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r--perl-install/fs/format.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 0c5eea69d..136581583 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -118,8 +118,8 @@ sub part_raw {
my @args = ($cmd, @first_options, @options, devices::make($dev));
- if ($cmd eq 'mkfs.ext2' && $wait_message) {
- mkfs_ext2($wait_message, @args) or die N("%s formatting of %s failed", $fs_type, $dev);
+ if ($cmd eq 'mkfs.ext3' && $wait_message) {
+ mkfs_ext3($wait_message, @args) or die N("%s formatting of %s failed", $fs_type, $dev);
} else {
run_program::raw({ timeout => 'never' }, @args) or die N("%s formatting of %s failed", $fs_type, $dev);
}
@@ -131,7 +131,7 @@ sub part_raw {
set_isFormatted($part, 1);
}
-sub mkfs_ext2 {
+sub mkfs_ext3 {
my ($wait_message, @args) = @_;
my $cmd = shell_quote_best_effort(@args);