diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 15:21:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 15:21:52 +0000 |
commit | cfcc53c071d834af84cfa4b7d319c4914c79e1bc (patch) | |
tree | 1b0f0cf23f3ff91f740e282e72fdd8c23c98efcd | |
parent | 1caa8d5bdfd75dd6b272c190e1c92d84bed18d17 (diff) | |
download | mgaonline-cfcc53c071d834af84cfa4b7d319c4914c79e1bc.tar mgaonline-cfcc53c071d834af84cfa4b7d319c4914c79e1bc.tar.gz mgaonline-cfcc53c071d834af84cfa4b7d319c4914c79e1bc.tar.bz2 mgaonline-cfcc53c071d834af84cfa4b7d319c4914c79e1bc.tar.xz mgaonline-cfcc53c071d834af84cfa4b7d319c4914c79e1bc.zip |
(harvester) only schedule an updates check if we really run
MandrivaUpdate (not eg edit-urpm-sources)
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -218,7 +218,7 @@ sub harvester { my $mdvupdate_returned; do { $childpid = waitpid(-1, &WNOHANG); - if ($mdv_update_pid == $childpid) { + if ($mdv_update_pid && $mdv_update_pid == $childpid) { undef $mdv_update_pid; $mdvupdate_returned = 1; } |