Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix false positives from Lua scriptlet runaway child detection
Commit a810765 moved the detection to parent using waitpid(), but this causes it to complain on any process in the same process group. In the usual rpm context we don't have any, but we can't very well tell API users not to have any children. rpmlog() in the child has the issues mentioned in the originating commit, but that's a problem that needs to be solved elsewhere. Revert back to issuing a warning when we actually *are* in the child process, so there are no false positive possible. Reported at https://bugzilla.redhat.com/show_bug.cgi?id=2254463
- Loading branch information