Fclose() and unlink() errors aren't fatal here, just ignore
This commit is contained in:
parent
6f75f9e764
commit
6e731e2832
|
@ -279,11 +279,11 @@ static rpmRC runExtScript(int selinux, ARGV_const_t prefixes,
|
|||
|
||||
exit:
|
||||
if (out)
|
||||
xx = Fclose(out); /* XXX dup'd STDOUT_FILENO */
|
||||
Fclose(out); /* XXX dup'd STDOUT_FILENO */
|
||||
|
||||
if (script) {
|
||||
if (!rpmIsDebug())
|
||||
xx = unlink(fn);
|
||||
unlink(fn);
|
||||
fn = _free(fn);
|
||||
}
|
||||
return rc;
|
||||
|
|
Loading…
Reference in New Issue