diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-05-27 16:49:25 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-05-27 16:49:25 +0300 |
commit | 95555ede4d732878d576415e5d338b0104b78ad6 (patch) | |
tree | 46c3d178e32f75480f834be897ce2b03f1a3bbd2 /src/url.c | |
parent | 38e54240a38266c0c1864e51e4ca7468a429646e (diff) | |
download | apk-tools-95555ede4d732878d576415e5d338b0104b78ad6.tar.gz apk-tools-95555ede4d732878d576415e5d338b0104b78ad6.tar.bz2 apk-tools-95555ede4d732878d576415e5d338b0104b78ad6.tar.xz apk-tools-95555ede4d732878d576415e5d338b0104b78ad6.zip |
db: more fix for read-only cache remounting
remount to read-write before trying to create the cache directory
subdirs. fix a fd leak that might prevent remounting back to rw.
Diffstat (limited to 'src/url.c')
-rw-r--r-- | src/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -136,6 +136,7 @@ int apk_url_download(const char *url, int atfd, const char *file) exit(0); } + close(fd); waitpid(pid, &status, 0); status = translate_wget(status); if (status != 0) { |