summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-10 13:51:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-10 13:51:01 +0000
commit3beacab73f90f4db572d24a92f54bde446e350e8 (patch)
treef674a1d7c05bd56a9dfc967d97beb04db469b1e2 /perl-install/install_steps_interactive.pm
parent65e1d3f778faaff8a1755251118ae9e00ecd0d82 (diff)
downloaddrakx-3beacab73f90f4db572d24a92f54bde446e350e8.tar
drakx-3beacab73f90f4db572d24a92f54bde446e350e8.tar.gz
drakx-3beacab73f90f4db572d24a92f54bde446e350e8.tar.bz2
drakx-3beacab73f90f4db572d24a92f54bde446e350e8.tar.xz
drakx-3beacab73f90f4db572d24a92f54bde446e350e8.zip
- more precise message when formatting / fsck'ing / mounting partitions
- hide passwords (for smb)
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 9df720bf9..2ea0cc363 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -332,11 +332,9 @@ sub formatMountPartitions {
my $w;
catch_cdie {
fs::formatMount_all($o->{all_hds}{raids}, $o->{fstab}, $o->{prefix}, sub {
- my ($part) = @_;
- $w ||= $o->wait_message('', N("Formatting partitions"));
- $w->set(isLoopback($part) ?
- N("Creating and formatting file %s", $part->{loopback_file}) :
- N("Formatting partition %s", $part->{device}));
+ my ($msg) = @_;
+ $w ||= $o->wait_message('', $msg);
+ $w->set($msg);
});
} sub {
$@ =~ /fsck failed on (\S+)/ or return;