From c0fceb6ebf6cb448ab4d18951576828a94ae9f43 Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Fri, 11 Dec 2009 04:35:41 +0000 Subject: [PATCH] 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 --- libopkg/libopkg.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.25.1