forked from hkc/cc-stuff
safety check
This commit is contained in:
parent
f25755a684
commit
46d68ca483
|
@ -1,3 +1,8 @@
|
||||||
|
if not turtle then
|
||||||
|
printError("not a turtle")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
_G._TOS_VER = "N/A"
|
_G._TOS_VER = "N/A"
|
||||||
local tos_ver_fp = io.open("/.tos-ver", "r")
|
local tos_ver_fp = io.open("/.tos-ver", "r")
|
||||||
if tos_ver_fp then
|
if tos_ver_fp then
|
||||||
|
|
Loading…
Reference in New Issue