aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabio Mascarenhas <mascarenhas@gmail.com>2013-09-24 06:48:18 -0700
committerFabio Mascarenhas <mascarenhas@gmail.com>2013-09-24 06:48:18 -0700
commit2fd989cd6c777583be1c93616018c55b2cbb1bcf (patch)
tree0e6366c1907a903845781c4bf08d036724124746 /src
parent9c2679f9d78f773471f2a9e58d02d8d6b29a2aa1 (diff)
parentb21e375840c3f4afcba8d4d56e4586849928c2aa (diff)
downloadluafilesystem-2fd989cd6c777583be1c93616018c55b2cbb1bcf.tar.gz
luafilesystem-2fd989cd6c777583be1c93616018c55b2cbb1bcf.tar.bz2
luafilesystem-2fd989cd6c777583be1c93616018c55b2cbb1bcf.zip
Merge pull request #21 from Mikhael-Danilov/patch-1
Update src/lfs.c
Diffstat (limited to 'src')
-rw-r--r--src/lfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lfs.c b/src/lfs.c
index b270ee8..cfed850 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -408,7 +408,7 @@ static int make_link(lua_State *L)
408 return pushresult(L, 408 return pushresult(L,
409 (lua_toboolean(L,3) ? symlink : link)(oldpath, newpath), NULL); 409 (lua_toboolean(L,3) ? symlink : link)(oldpath, newpath), NULL);
410#else 410#else
411 pusherror(L, "make_link is not supported on Windows"); 411 return pusherror(L, "make_link is not supported on Windows");
412#endif 412#endif
413} 413}
414 414