summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 3dfb216e..42fd6789 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -321,8 +321,8 @@ sub harvester {
my $mdvupdate_returned;
do {
$childpid = waitpid(-1, &WNOHANG);
+ my $status = $? >> 8;
if ($mdv_update_pid && $mdv_update_pid == $childpid) {
- my $status = $? >> 8;
undef $mdv_update_pid;
if ($refork_gurpmi) {
undef $refork_gurpmi;
@@ -332,7 +332,6 @@ sub harvester {
}
} elsif ($checker_pid && $checker_pid == $childpid) {
undef $checker_pid;
- my $status = $? >> 8;
my ($state) = grep { $_->{code} eq $status } values %comm_codes;
if ($state) {
logIt($state->{log});