diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-08 04:47:58 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-08 04:48:13 +0100 |
commit | 571aeab77c9d52375d061f53a729b3910f40e876 (patch) | |
tree | c122c9c43f27c95aecaf30cc2d8c63d8376eeaf5 /bin/net_applet | |
parent | 58d6d233f61a1ba056c71aee344a7b0a93124418 (diff) | |
download | drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar.gz drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar.bz2 drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.tar.xz drakx-net-571aeab77c9d52375d061f53a729b3910f40e876.zip |
delay setting SIG_CHLD handler
thus preventing potential segfault on startup (mga#10289)
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-x | bin/net_applet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_applet b/bin/net_applet index 737d0d3..b8201f5 100755 --- a/bin/net_applet +++ b/bin/net_applet @@ -275,7 +275,7 @@ $SIG{USR1} = sub { }; # do not create zombies (#20552) -$SIG{CHLD} = \&harvester; +Glib::Timeout->add_seconds(1, sub { $SIG{CHLD} = \&harvester; 0; }); sub harvester { my $pid; do { |