about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.c b/src/lua.c
index c78b051..d6095ca 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -239,7 +239,7 @@ static int pmain (lua_State *L) {
   if (status != 0) return 0;
   status = dorequire(L, "src/task.lua", "task");
   if (status != 0) return 0;
-  status = dorequire(L, "src/file.lua", "file");
+  status = dofile(L, "src/file.lua");
   if (status != 0) return 0;
   lua_gc(L, LUA_GCRESTART, 0);