sync with rpm4 branch: apply rpm_close_all
This commit is contained in:
parent
f975ad115f
commit
578040ae51
@ -210,6 +210,10 @@ fprintf(stderr, "*** addMacros\n");
|
||||
|
||||
rpmMessage(RPMMESS_NORMAL, _("Executing(%s): %s\n"), name, buildCmd);
|
||||
if (!(child = fork())) {
|
||||
if ( rpm_close_all() ) {
|
||||
perror( "rpm_close_all" );
|
||||
_exit( -1 );
|
||||
}
|
||||
|
||||
/*@-mods@*/
|
||||
errno = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user