diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-04-19 13:04:28 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-04-19 13:04:28 +0300 |
commit | 6e731e283222135a25ad2b6bac6b8f02d4f2541a (patch) | |
tree | 08073c26e28985000bff7f6754ad0e9412dcba29 /lib/rpmscript.c | |
parent | 6f75f9e7640e2ef08ae65c9038fcedad2c96ae72 (diff) | |
download | librpm-tizen-6e731e283222135a25ad2b6bac6b8f02d4f2541a.tar.gz librpm-tizen-6e731e283222135a25ad2b6bac6b8f02d4f2541a.tar.bz2 librpm-tizen-6e731e283222135a25ad2b6bac6b8f02d4f2541a.zip |
Fclose() and unlink() errors aren't fatal here, just ignore
Diffstat (limited to 'lib/rpmscript.c')
-rw-r--r-- | lib/rpmscript.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmscript.c b/lib/rpmscript.c index e5ce8da06..fb5f5ee0f 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; |