summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgaapplet b/mgaapplet
index 2af525ff..8f928d10 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -207,6 +207,7 @@ shouldStart() or die "$localfile should be set to TRUE: please use --force or -f
go2State('delayed');
Glib::Timeout->add_seconds($config{FIRST_CHECK_DELAY}/1000, sub {
+ $SIG{CHLD} = \&harvester;
# schedule future checks:
setup_cyclic_check();
# perform a test after initial delay:
@@ -218,7 +219,6 @@ Glib::Timeout->add_seconds($config{FIRST_CHECK_DELAY}/1000, sub {
$SIG{USR1} = 'IGNORE';
$SIG{USR2} = 'IGNORE';
-$SIG{CHLD} = \&harvester;
$SIG{HUP} = \&restart_applet;
run_program::raw({ detach => 1 }, 'ionice', '-p', $$, '-n7');