diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-19 23:46:30 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-19 23:46:30 +0000 |
commit | 7a21da20c34db394abcde18f08d106edc47ae8c2 (patch) | |
tree | 4c01519c1bf85cf0c02c810d7607ee7eb7e30138 /perl-install/network | |
parent | cf502e8f3908835c936e78eda0cbe437a9bbb585 (diff) | |
download | drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.gz drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.bz2 drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.xz drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.zip |
to workaround perl bug removing UTF8 flag when passing scalars to die's, pass
a scalar-ref. but we need to de-ref, so it might break many things :).
let's make a prayer :).
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/drakfirewall.pm | 2 | ||||
-rw-r--r-- | perl-install/network/ethernet.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/drakfirewall.pm b/perl-install/network/drakfirewall.pm index 4861b2242..8d6e7005a 100644 --- a/perl-install/network/drakfirewall.pm +++ b/perl-install/network/drakfirewall.pm @@ -107,7 +107,7 @@ sub get_ports { sub set_ports { my ($in, $disabled, $ports) = @_; - my $shorewall = network::shorewall::read() || network::shorewall::default_interfaces() or die N("No network card"); + my $shorewall = network::shorewall::read() || network::shorewall::default_interfaces() or die \N("No network card"); if (!$disabled || -x "$::prefix/sbin/shorewall") { $in->do_pkgs->ensure_is_installed('shorewall', '/sbin/shorewall', $::isInstall) or return; diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index 28b71adba..112e74b1c 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -164,7 +164,7 @@ sub configureNetwork { my ($netc, $intf, $_first_time) = @_; local $_; modules::interactive::load_category($in, 'network/main|gigabit|usb|pcmcia', !$::expert, 1) or return; - my @l = detect_devices::getNet() or die N("no network card found"); + my @l = detect_devices::getNet() or die \N("no network card found"); my @all_cards = conf_network_card_backend($netc, $intf); configureNetwork_step_1: |