diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include "repo.h" #include "log.h" +#include "lauxlib.h" #include "curl/curl.h" #include "stdio.h" #include "stdlib.h" @@ -25,7 +26,9 @@ int main(int argc, char *argv[]) { pow_config config = {0}; - pow_open_config(&config, args.cfg_path); + lua_State* L = luaL_newstate(); + + pow_open_config(L, &config, args.cfg_path); if (args.flags & POW_FLAG_QUERY) { pow_repo_check_package(&config, args.package); |
