1
0
Fork 0

Forgot to break and rewind

This commit is contained in:
Casey 2023-10-03 18:45:22 +03:00
parent 5594f70fe4
commit 666a0127e1
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 4 additions and 0 deletions

View File

@ -25,7 +25,11 @@ while true do
local chunk = req.read() local chunk = req.read()
if not chunk then if not chunk then
print("EOF") print("EOF")
break
end end
tape.write(chunk) tape.write(chunk)
end end
tape.stop()
tape.seek(-tape.getSize())
tape.stop()