mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 18:46:43 +00:00
Bugfix crash upon deleting non existant /sys directory
This commit is contained in:
parent
fa39689e3a
commit
7c799426a9
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ local function promptKey()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function installDefaultOS()
|
local function installDefaultOS()
|
||||||
fs.delete("/sys", true)
|
if fs.exists("/sys") then
|
||||||
|
fs.delete("/sys", true)
|
||||||
|
end
|
||||||
installOS()
|
installOS()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue