summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-02 18:28:13 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-02 18:28:13 +0000
commit7c858fc73a6d872400710ef9ab61a0a4e4384a3e (patch)
tree558f0a153cf9ab86ba87c008c1587336e9128d86 /lib/network/netcenter.pm
parent6a9f77996379c9ac98ccf9f553253cddbc9febae (diff)
downloaddrakx-net-7c858fc73a6d872400710ef9ab61a0a4e4384a3e.tar
drakx-net-7c858fc73a6d872400710ef9ab61a0a4e4384a3e.tar.gz
drakx-net-7c858fc73a6d872400710ef9ab61a0a4e4384a3e.tar.bz2
drakx-net-7c858fc73a6d872400710ef9ab61a0a4e4384a3e.tar.xz
drakx-net-7c858fc73a6d872400710ef9ab61a0a4e4384a3e.zip
do not create useless monitor object
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index d8e0cea..19b4207 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -148,8 +148,6 @@ sub main {
);
if ($dbus) {
- my $monitor;
- eval { $monitor = network::monitor->new($dbus) };
$dbus->{connection}->add_filter(sub {
my ($_con, $msg) = @_;
if ($msg->get_member eq 'status') {