summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-04 02:27:00 +0100
committerubq323 <ubq323@ubq323.website>2024-04-04 02:27:00 +0100
commit00b5e2876e77221aca9351ded2dce6b9fb2f8b23 (patch)
tree84099d5fd9b9dd17d0fa9f4e5a46db10a428649e
parent79d17928a91e0646e1db9a09480b815cf93f2772 (diff)
launch cactus
-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