summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}