From 944eb758e1bcac9924bd4a0dd37f23b44bb958ec Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Fri, 29 Aug 2003 09:55:14 +0000 Subject: remove system("cp..."); (I suck so much...) --- perl-install/network/adsl.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 7a109f3c1..a576ccef8 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -127,8 +127,7 @@ sub load_firmware_floppy { my $_b = before_leaving { fs::umount("/mnt") }; if (-e "/mnt/$file") { - cp_af("/mnt/$file"); - system("cp /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/; -- cgit v1.2.1