diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-27 16:06:43 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-27 16:06:43 +0100 |
commit | 06c28077e4673ff440cd725ac179f36824fcd245 (patch) | |
tree | 5ff96e069733c2443ef4ace355e97565a298a894 /bin/net_applet | |
parent | 1a7ade5eb14bc88adf9a922153caacf31d45a92f (diff) | |
download | drakx-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/net_applet')
-rwxr-xr-x | bin/net_applet | 3 |
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() { |