summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-26 03:29:07 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-26 03:29:07 +0000
commit17819f62a35b01bd3a1cc7986c1e51542b205b51 (patch)
tree34658db55f3c787cde3050c19a041ccaa451981c
parent4608fea99ff269a242c154a4f53189be02d455b8 (diff)
downloaddrakx-17819f62a35b01bd3a1cc7986c1e51542b205b51.tar
drakx-17819f62a35b01bd3a1cc7986c1e51542b205b51.tar.gz
drakx-17819f62a35b01bd3a1cc7986c1e51542b205b51.tar.bz2
drakx-17819f62a35b01bd3a1cc7986c1e51542b205b51.tar.xz
drakx-17819f62a35b01bd3a1cc7986c1e51542b205b51.zip
let perl-MDK-Common do the quoting
-rw-r--r--perl-install/network/tools.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index bf1508a4b..f9957577e 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -200,8 +200,7 @@ sub convert_wep_key_for_iwconfig {
#- else consider the key as hexadecimal, do not strip dashes
#- always quote the key as string
my ($key) = @_;
- unquotify \$key;
- member(length($key), (5, 13)) ? qq("s:$key") : qq("$key");
+ member(length($key), (5, 13)) ? "s:$key" : "$key";
}
sub get_wep_key_from_iwconfig {