Spacing.
[oweals/opkg-lede.git] / libopkg / libopkg.c
index 3ff6085ec943c1f300fa3494fc267b4a35e3dab7..d86be9eb2b8ac7f16fe0f2f5a7d75a94b76f0edd 100644 (file)
@@ -73,7 +73,7 @@ opkg_op (int argc, char *argv[])
 
        conf->pfm = cmd->pfm;
 
-       if(opkg_conf_init())
+       if (opkg_conf_init())
                goto err0;
 
        if (!nocheckfordirorfile) {
@@ -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: