diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-21 11:33:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-21 11:33:11 +0000 |
commit | 1900072762d0910224362275b4933fb187f6e809 (patch) | |
tree | 5e016a4dceb5637c862181910dab26bd27484d8f /perl-install/fs | |
parent | 705bb01dbafd020971ead18c9bcde14bdbc0a590 (diff) | |
download | drakx-1900072762d0910224362275b4933fb187f6e809.tar drakx-1900072762d0910224362275b4933fb187f6e809.tar.gz drakx-1900072762d0910224362275b4933fb187f6e809.tar.bz2 drakx-1900072762d0910224362275b4933fb187f6e809.tar.xz drakx-1900072762d0910224362275b4933fb187f6e809.zip |
(part_raw) display a progress bar while formating an ext4 partition
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/format.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |