mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
opkg_manager: avoid the zombie apocalypse, use waitpid()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1454d09a75
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-01-29 (Sun, 29 Jan 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
eb1874e7ed
commit
58f9c2aa6b
@@ -781,6 +781,8 @@ void COPKGManager::getPkgData(const int pkg_content_id)
|
||||
}
|
||||
}
|
||||
|
||||
waitpid(pid, NULL, 0); /* beware of the zombie apocalypse! */
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user