index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-18 12:18:39 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-19 09:41:55 -0500 |
commit | 1723e6dc4f8eff8aaa1e0f7560800c76e85f3009 (patch) | |
tree | 717d0db2db96b179c659df627d662fc115a36924 /lib/libalpm | |
parent | 16334f778b59ebf831c15640db2fe9706e7c9615 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 5464740a..37989370 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -396,7 +396,7 @@ cleanup: } } - if((ret == -1 || dload_interrupted) && should_unlink) { + if((ret == -1 || dload_interrupted) && should_unlink && tempfile) { unlink(tempfile); } |