summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-27 16:06:43 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-27 16:06:43 +0100
commit06c28077e4673ff440cd725ac179f36824fcd245 (patch)
tree5ff96e069733c2443ef4ace355e97565a298a894 /bin
parent1a7ade5eb14bc88adf9a922153caacf31d45a92f (diff)
downloaddrakx-net-06c28077e4673ff440cd725ac179f36824fcd245.tar
drakx-net-06c28077e4673ff440cd725ac179f36824fcd245.tar.gz
drakx-net-06c28077e4673ff440cd725ac179f36824fcd245.tar.bz2
drakx-net-06c28077e4673ff440cd725ac179f36824fcd245.tar.xz
drakx-net-06c28077e4673ff440cd725ac179f36824fcd245.zip
simplify
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() {