From: graham.gower Date: Fri, 11 Dec 2009 04:35:41 +0000 (+0000) Subject: Not all ERROR messages are in paths that return as an error. Print them anyway. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c0fceb6ebf6cb448ab4d18951576828a94ae9f43;p=oweals%2Fopkg-lede.git 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 --- 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: