diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 16:21:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 16:21:36 +0000 |
commit | 307f1590784e72bfee1a5f27752f951c0a3d1229 (patch) | |
tree | c5612a7dbf5034c3663b45d652828ace9306841b | |
parent | f42c21506e47cd6ffb354cb08663d173caa9521a (diff) | |
download | mgaonline-307f1590784e72bfee1a5f27752f951c0a3d1229.tar mgaonline-307f1590784e72bfee1a5f27752f951c0a3d1229.tar.gz mgaonline-307f1590784e72bfee1a5f27752f951c0a3d1229.tar.bz2 mgaonline-307f1590784e72bfee1a5f27752f951c0a3d1229.tar.xz mgaonline-307f1590784e72bfee1a5f27752f951c0a3d1229.zip |
(harvester) compute child status earlier (safer and needed for next commit)
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -322,10 +322,10 @@ sub harvester { do { $childpid = waitpid(-1, &WNOHANG); if ($mdv_update_pid && $mdv_update_pid == $childpid) { + my $status = $? >> 8; undef $mdv_update_pid; if ($refork_gurpmi) { undef $refork_gurpmi; - my $status = $? >> 8; fork_gurpmi() if $status; } else { $mdvupdate_returned = 1; |