summaryrefslogtreecommitdiffstats
path: root/libopkg/libopkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/libopkg.c')
-rw-r--r--libopkg/libopkg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c
index dba1983..68da96d 100644
--- a/libopkg/libopkg.c
+++ b/libopkg/libopkg.c
@@ -271,6 +271,7 @@ opkg_packages_download (args_t * args, const char *name)
err = opkg_conf_init (&opkg_conf, args);
if (err)
{
+ opkg_print_error_list (&opkg_conf);
return err;
}
@@ -485,6 +486,7 @@ opkg_op (int argc, char *argv[])
err = opkg_conf_init (&opkg_conf, &args);
if (err)
{
+ opkg_print_error_list (&opkg_conf);
return err;
}