From e374d9075bca80f9ec89828df4ab2d75daeb6910 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 10 Sep 2022 16:40:19 -0400 Subject: Fixed most commands. --- lpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lpm.c') diff --git a/lpm.c b/lpm.c index 2da8a13..fa0410b 100644 --- a/lpm.c +++ b/lpm.c @@ -383,8 +383,8 @@ int main(int argc, char* argv[]) { lua_pushliteral(L, "/"); #endif lua_setglobal(L, "PATHSEP"); - //if (luaL_loadstring(L, luafile)) { - if (luaL_loadfile(L, "lpm.lua")) { + if (luaL_loadstring(L, luafile)) { + //if (luaL_loadfile(L, "lpm.lua")) { fprintf(stderr, "internal error when starting the application: %s\n", lua_tostring(L, -1)); return -1; } -- cgit v1.2.3