summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-10 04:17:15 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-10 04:17:15 +0000
commit3114f619c252e7b7ecd26e5f9e03263c3e5f4846 (patch)
tree9eef0a0f5975e1097796c114fdf718b7da87ae72 /perl-install
parent94f4884adea83ac0b87daf65b2efdbee3981dad0 (diff)
downloaddrakx-3114f619c252e7b7ecd26e5f9e03263c3e5f4846.tar
drakx-3114f619c252e7b7ecd26e5f9e03263c3e5f4846.tar.gz
drakx-3114f619c252e7b7ecd26e5f9e03263c3e5f4846.tar.bz2
drakx-3114f619c252e7b7ecd26e5f9e03263c3e5f4846.tar.xz
drakx-3114f619c252e7b7ecd26e5f9e03263c3e5f4846.zip
(update_status) handle decimal ping time with comma instead of dot
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/test.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/test.pm b/perl-install/network/test.pm
index 2b07234d2..92ba858b5 100644
--- a/perl-install/network/test.pm
+++ b/perl-install/network/test.pm
@@ -98,7 +98,7 @@ sub update_status {
fcntl($fd, c::F_SETFL(), c::O_NONBLOCK()) or die "can't fcntl F_SETFL: $!";
local $| = 1;
if (defined(my $output = <$fd>)) {
- ($o->{address}, $o->{ping}) = $output =~ /^([\d\.]+)\|([\d\.]+)*$/;
+ ($o->{address}, $o->{ping}) = $output =~ /^([\d\.]+)\|([\d\.\,]+)*$/;
$o->{done} = 1;
undef $o->{kid};
}