about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lfs.c b/src/lfs.c
index 29c4f55..536bf99 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -1156,8 +1156,8 @@ static void set_info(lua_State * L)
 
 static const struct luaL_Reg fslib[] = {
   { "attributes", file_info },
-  { "chdir", change_dir },
-  { "currentdir", get_dir },
+  /* no 'chdir' without sandboxing it */
+  /* no 'currentdir' without sandboxing it */
   { "dir", dir_iter_factory },
   { "link", make_link },
   { "lock", file_lock },