diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2003-08-29 09:55:14 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2003-08-29 09:55:14 +0000 |
commit | 944eb758e1bcac9924bd4a0dd37f23b44bb958ec (patch) | |
tree | cd26bba329303d11e0a8ebdc6d132130aba988f7 | |
parent | 6490e8aed0673d12393d39f132394b0c46487ef8 (diff) | |
download | drakx-backup-do-not-use-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar drakx-backup-do-not-use-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar.gz drakx-backup-do-not-use-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar.bz2 drakx-backup-do-not-use-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar.xz drakx-backup-do-not-use-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.zip |
remove system("cp..."); (I suck so much...)
-rw-r--r-- | perl-install/network/adsl.pm | 3 |
1 files changed, 1 insertions, 2 deletions
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/; |