safety check

This commit is contained in:
Casey 2024-01-12 19:29:53 +03:00
parent f25755a684
commit 46d68ca483
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
if not turtle then
printError("not a turtle")
return
end
_G._TOS_VER = "N/A"
local tos_ver_fp = io.open("/.tos-ver", "r")
if tos_ver_fp then