summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_applet3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/net_applet b/bin/net_applet
index fa1aa3a..737d0d3 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -316,10 +316,9 @@ sub shouldStart() {
return getAutoStart();
}
sub run_net_monitor() {
- my $in = 'do_pkgs';
# stop reaping child processes or else gurpmi segfaults
local $SIG{CHLD} = "DEFAULT";
- $in->do_pkgs->install('net_monitor');
+ do_pkgs->do_pkgs->install('net_monitor');
run_program::raw({ detach => 1 }, 'net_monitor', '--defaultintf', $current_interface) unless is_running('net_monitor');
}
sub run_netcenter() {