mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
opkg_manager: avoid the zombie apocalypse, use waitpid()
This commit is contained in:
committed by
svenhoefer
parent
fd9387a43c
commit
1454d09a75
@@ -781,6 +781,8 @@ void COPKGManager::getPkgData(const int pkg_content_id)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
waitpid(pid, NULL, 0); /* beware of the zombie apocalypse! */
|
||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user