summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-17 10:34:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-17 10:34:58 (EDT)
commit79d5944e7b163b824a33029001941f444e2efedb (patch)
tree16b832197cdd5e093857e2699d54acfff1874a88
parent652b5a0bb66c90b8235cca1ef67e84a55a83d90a (diff)
main: Fix control file name
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 14c586f..d2f513b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -128,7 +128,7 @@ _opkg_opk_main_read_control(struct opkg_opk_ustar *ustar)
size_t size;
int ret;
- if (opkg_opk_ustar_seek(ustar, "control") != OPKG_OPK_OK) {
+ if (opkg_opk_ustar_seek(ustar, "./control") != OPKG_OPK_OK) {
fputs("Error: Failed to find control file\n", stderr);
return OPKG_OPK_ERROR;
}