summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-12 11:19:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-12 11:19:49 +0100
commitdc2e3274d0147db4e8d2f8e846419dadc053ebcc (patch)
tree8b71564c1c6347318c9d29a58c8afdc5f05d4ca1
parent6606ebd28e30bf44096b29698c197f0444c17a70 (diff)
downloadluxio-dc2e3274d0147db4e8d2f8e846419dadc053ebcc.tar.gz
Fix infinite recursion in luxio.simple.chdir()
-rw-r--r--luxio/simple.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luxio/simple.lua b/luxio/simple.lua
index 8c59e84..c19d348 100644
--- a/luxio/simple.lua
+++ b/luxio/simple.lua
@@ -1184,7 +1184,7 @@ end
local lchdir = l.chdir
local function chdir(path)
- local r, err = chdir(path)
+ local r, err = lchdir(path)
if r == -1 then
return err("chdir", errno)
end