From 6e731e283222135a25ad2b6bac6b8f02d4f2541a Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 19 Apr 2011 13:04:28 +0300 Subject: [PATCH] Fclose() and unlink() errors aren't fatal here, just ignore --- lib/rpmscript.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rpmscript.c b/lib/rpmscript.c index e5ce8da..fb5f5ee 100644 --- a/lib/rpmscript.c +++ b/lib/rpmscript.c @@ -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; -- 2.7.4