From 1900072762d0910224362275b4933fb187f6e809 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Apr 2009 11:33:11 +0000 Subject: (part_raw) display a progress bar while formating an ext4 partition --- perl-install/fs/format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 509134b17..e50cf492a 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -168,7 +168,7 @@ sub part_raw { my @args = ($cmd, @first_options, @options, devices::make($dev)); - if ($cmd eq 'mkfs.ext3' && $wait_message) { + if ($cmd =~ /^mkfs.ext[34]$/ && $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); -- cgit v1.2.1