summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-23 03:06:00 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-23 03:06:00 +0000
commit3f819b20a7f8ee1a6349d61a6c0552bddd41d41a (patch)
treec63fef4805ec7c9c572fcbc9e3ab50c9f50858e2 /perl-install/standalone/net_monitor
parent1678abc8d4a032891d016411dad231bd55ca30d1 (diff)
downloaddrakx-3f819b20a7f8ee1a6349d61a6c0552bddd41d41a.tar
drakx-3f819b20a7f8ee1a6349d61a6c0552bddd41d41a.tar.gz
drakx-3f819b20a7f8ee1a6349d61a6c0552bddd41d41a.tar.bz2
drakx-3f819b20a7f8ee1a6349d61a6c0552bddd41d41a.tar.xz
drakx-3f819b20a7f8ee1a6349d61a6c0552bddd41d41a.zip
watch connection time, not disconnection time :-)
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index ddc8f187e..4603c80ae 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -195,7 +195,7 @@ sub connection() {
$button_close->set_sensitive(0);
$statusbar->pop(1);
$statusbar->push(1, $wasconnected ? N("Disconnecting from Internet ") : N("Connecting to Internet "));
- if ($wasconnected == 1) {
+ if ($wasconnected == 0) {
$c_time = time();
$ct_tag = Glib::Timeout->add(1000, sub {
my ($sec, $min, $hour) = gmtime(time() - $c_time);