summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index 012ef84..3efb2c1 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -241,8 +241,6 @@ sub stop_connection {
sub monitor_connection {
my ($cmanager) = @_;
- # We need to check if net_monitor is installed or not.
- $in->do_pkgs->ensure_is_installed('net_monitor', '/usr/bin/net_monitor') or return 1;
my $interface = $cmanager->{connection} && $cmanager->{connection}->get_interface or return;
run_program::raw({ detach => 1 }, '/usr/bin/net_monitor', '--defaultintf', $interface);
}