Not all ERROR messages are in paths that return as an error. Print them anyway.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 11 Dec 2009 04:35:41 +0000 (04:35 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 11 Dec 2009 04:35:41 +0000 (04:35 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@485 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/libopkg.c

index 3ff6085..4ed4462 100644 (file)
@@ -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: