opkg: fix the -force_space option
[oweals/opkg-lede.git] / libopkg / opkg_conf.c
index a261a18dc4e7164803c1084893b1813e38632629..8e9060223b1500a8fa4ddda149671f9ef52276db 100644 (file)
@@ -264,6 +264,9 @@ int opkg_conf_init(opkg_conf_t *conf, const args_t *args)
      if (args->force_downgrade) {
          conf->force_downgrade = 1;
      }
+     if (args->force_space) {
+         conf->force_space = 1;
+     }
      if (args->force_reinstall) {
          conf->force_reinstall = 1;
      }