diff options
author | graham.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) |
commit | c0fceb6ebf6cb448ab4d18951576828a94ae9f43 (patch) | |
tree | fcd7b4f83284d996128f1792a059299abd287bcb /libopkg | |
parent | df095ad14d4217ab3223862f3a6b9a2134c709b2 (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.c | 3 |
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: |