diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 00:44:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 00:44:44 +0000 |
commit | 15e7ec6839a48e96b72af66c7091f278994fb7ae (patch) | |
tree | e91f7b73f4f59ff713bafce333be88191aca5486 /mdkapplet | |
parent | 0464f79b82e0d2768d9fb6d5776ca2fc68522f78 (diff) | |
download | mgaonline-15e7ec6839a48e96b72af66c7091f278994fb7ae.tar mgaonline-15e7ec6839a48e96b72af66c7091f278994fb7ae.tar.gz mgaonline-15e7ec6839a48e96b72af66c7091f278994fb7ae.tar.bz2 mgaonline-15e7ec6839a48e96b72af66c7091f278994fb7ae.tar.xz mgaonline-15e7ec6839a48e96b72af66c7091f278994fb7ae.zip |
(harvester) rename '$mdvupdate_returned' as more meaningfull 'schedule_checks'
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -327,13 +327,13 @@ my ($mdv_update_pid, $checker_pid, $media_manager_pid); sub harvester { my ($_signame, $_clean) = @_; my ($childpid, @pids); - my $mdvupdate_returned; + my $schedule_checks; do { $childpid = waitpid(-1, &WNOHANG); my $status = $? >> 8; if ($mdv_update_pid && $mdv_update_pid == $childpid) { undef $mdv_update_pid; - $mdvupdate_returned = 1; + $schedule_checks = 1; } elsif ($checker_pid && $checker_pid == $childpid) { undef $checker_pid; my ($state) = grep { $_->{code} eq $status } values %comm_codes; @@ -349,7 +349,7 @@ sub harvester { } push @pids, $childpid; } while $childpid > 0; - Glib::Timeout->add(200, sub { silentCheck(); 0 }) if $mdvupdate_returned; + Glib::Timeout->add(200, sub { silentCheck(); 0 }) if $schedule_checks; return @pids; } |