diff options
-rw-r--r-- | src/lfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||