diff options
-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: |