summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-09-08 14:54:48 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-09-08 14:54:48 +0000
commitec3798f880b10ab8b9bc4a5708649a6791e505a2 (patch)
treea3e4b068ce79b2b4388f51eea125266783156bea /perl-install/network/adsl.pm
parent0f88f5713171dac3a88c72b7c9e543948a78afd6 (diff)
downloaddrakx-ec3798f880b10ab8b9bc4a5708649a6791e505a2.tar
drakx-ec3798f880b10ab8b9bc4a5708649a6791e505a2.tar.gz
drakx-ec3798f880b10ab8b9bc4a5708649a6791e505a2.tar.bz2
drakx-ec3798f880b10ab8b9bc4a5708649a6791e505a2.tar.xz
drakx-ec3798f880b10ab8b9bc4a5708649a6791e505a2.zip
- fix/use explanations
- fix #5307 (firmware)
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a576ccef8..2cb691fa9 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -127,11 +127,12 @@ sub load_firmware_floppy {
my $_b = before_leaving { fs::umount("/mnt") };
if (-e "/mnt/$file") {
- cp_af("/mnt/$file $destination");
+ cp_af("/mnt/$file", $destination);
} else { $failed ||= N("Firmware copy failed, file %s not found", $file) }
eval { $in->ask_warn('', $failed || N("Firmware copy succeeded")) }; $in->exit if $@ =~ /wizcancel/;
- $failed and log::l($failed) && return;
+ log::explanations($failed || "Firmware copy $file in $destination succeeded");
+ $failed and return;
1;
}