summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index bdbf61f3..e043cebd 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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;
}