diff --git a/os/libs/vfs.lua b/os/libs/vfs.lua index 80e176a..a57ab74 100644 --- a/os/libs/vfs.lua +++ b/os/libs/vfs.lua @@ -152,7 +152,7 @@ vfs.upload = function(path) local file = m.."/"..REQUEST["upload-"..index..".file"] local ret = ulib.move(REQUEST["upload-"..index..".tmp"], file) if not ret then - local ret = ulib.send_file(REQUEST["upload-"..index..".tmp"], file) + ret = ulib.send_file(REQUEST["upload-"..index..".tmp"], file) end if not ret then return false, "Unable to copy file"