Bugfix crash upon deleting non existant /sys directory

This commit is contained in:
Alessandro Proto 2023-04-11 23:12:22 +02:00
parent fa39689e3a
commit 7c799426a9

View file

@ -96,7 +96,9 @@ local function promptKey()
end
local function installDefaultOS()
if fs.exists("/sys") then
fs.delete("/sys", true)
end
installOS()
end