summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 17:19:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 17:19:35 +0000
commit8114a4f175529e3e3eb6b0c20785735532ca8c48 (patch)
tree4b3e79353d8f3a984b4f086b42f971840fa03a48 /mdkapplet
parentabb44b5a4088017c7b979d8fb1f78cd844307e83 (diff)
downloadmgaonline-8114a4f175529e3e3eb6b0c20785735532ca8c48.tar
mgaonline-8114a4f175529e3e3eb6b0c20785735532ca8c48.tar.gz
mgaonline-8114a4f175529e3e3eb6b0c20785735532ca8c48.tar.bz2
mgaonline-8114a4f175529e3e3eb6b0c20785735532ca8c48.tar.xz
mgaonline-8114a4f175529e3e3eb6b0c20785735532ca8c48.zip
(harvester) keep record we succeeded even when first gurpmi pass succeeded
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index cc0ba70f..8e40725c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -324,8 +324,8 @@ sub harvester {
my $status = $? >> 8;
if ($mdv_update_pid && $mdv_update_pid == $childpid) {
undef $mdv_update_pid;
- if ($refork_gurpmi) {
- $mdv_update_pid = fork_gurpmi() if $status;
+ if ($refork_gurpmi && $status) {
+ $mdv_update_pid = fork_gurpmi();
} else {
$mdvupdate_returned = 1;
}