From 666a0127e1f5c48c1a98c91b5cadfed39d5f6203 Mon Sep 17 00:00:00 2001 From: hkc Date: Tue, 3 Oct 2023 18:45:22 +0300 Subject: [PATCH] Forgot to break and rewind --- tapeget.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tapeget.lua b/tapeget.lua index 62772cd..42d7785 100644 --- a/tapeget.lua +++ b/tapeget.lua @@ -25,7 +25,11 @@ while true do local chunk = req.read() if not chunk then print("EOF") + break end tape.write(chunk) end +tape.stop() +tape.seek(-tape.getSize()) +tape.stop()