diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-10 04:17:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-10 04:17:15 +0000 |
commit | 3114f619c252e7b7ecd26e5f9e03263c3e5f4846 (patch) | |
tree | 9eef0a0f5975e1097796c114fdf718b7da87ae72 /perl-install | |
parent | 94f4884adea83ac0b87daf65b2efdbee3981dad0 (diff) | |
download | drakx-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.pm | 2 |
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}; } |