summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index 2d7b881..2a3ea0c 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -154,8 +154,8 @@ int opkg_conf_init(opkg_conf_t *conf, const args_t *args)
}
}
- offline_root = conf->offline_root;
opkg_conf_override_string(&conf->offline_root, args->offline_root);
+ offline_root = conf->offline_root;
if (conf->offline_root)
sprintf_alloc(&etc_opkg_conf_pattern, "%s/etc/opkg/*.conf", conf->offline_root);