summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cactus.lua11
1 files changed, 2 insertions, 9 deletions
diff --git a/cactus.lua b/cactus.lua
index 0827398..00daec6 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -171,13 +171,6 @@ local function loop()
os.sleep(120)
end
-local function main()
- setup()
- while true do loop() end
-end
+setup()
+while true do loop() end
-while true do
- local ok,err = pcall(main)
- if not ok then print(error) end
- os.sleep(5)
-end