summaryrefslogtreecommitdiffstats
path: root/opkg_cmd.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:20:20 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:20:20 (EST)
commit0a94bb14c9cfed746d645a35872fc9daa308ab5d (patch)
treecbf2abb47379ef78d5ac947e0b4af1af1d4b82d6 /opkg_cmd.c
parent080a13effc327e8d9c2419d425e81aedc37c6c89 (diff)
opkg: improve download error reporting
git-svn-id: http://opkg.googlecode.com/svn/trunk@22 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'opkg_cmd.c')
-rw-r--r--opkg_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opkg_cmd.c b/opkg_cmd.c
index 20d3872..db04a4a 100644
--- a/opkg_cmd.c
+++ b/opkg_cmd.c
@@ -287,6 +287,7 @@ static int opkg_update_cmd(opkg_conf_t *conf, int argc, char **argv)
err = opkg_download(conf, url, tmp_file_name);
if (err) {
failures++;
+ opkg_message (conf, OPKG_NOTICE, "Signature check failed\n");
} else {
int err;
err = opkg_verify_file (list_file_name, tmp_file_name);
@@ -296,6 +297,7 @@ static int opkg_update_cmd(opkg_conf_t *conf, int argc, char **argv)
opkg_message (conf, OPKG_NOTICE, "Signature check failed\n");
}
unlink (tmp_file_name);
+ unlink (tmp);
free (tmp_file_name);
free (url);