summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-10 23:35:41 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-10 23:35:41 (EST)
commitc0fceb6ebf6cb448ab4d18951576828a94ae9f43 (patch)
treefcd7b4f83284d996128f1792a059299abd287bcb /libopkg
parentdf095ad14d4217ab3223862f3a6b9a2134c709b2 (diff)
Not all ERROR messages are in paths that return as an error. Print them anyway.
git-svn-id: http://opkg.googlecode.com/svn/trunk@485 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/libopkg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c
index 3ff6085..4ed4462 100644
--- a/libopkg/libopkg.c
+++ b/libopkg/libopkg.c
@@ -97,6 +97,9 @@ opkg_op (int argc, char *argv[])
if (opkg_cmd_exec (cmd, argc - opts, (const char **) (argv + opts)))
goto err2;
+ print_error_list();
+ free_error_list();
+
return 0;
err2: