aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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