made SEBIOS not crash when there's an empty tape drive present
This commit is contained in:
parent
bd41474e31
commit
308c0acad5
@ -74,7 +74,7 @@ do
|
||||
wl("Memory: "..tostring(computer.totalMemory()/1024).."K")
|
||||
wl(" ")
|
||||
for k,v in ipairs(bootdevs) do
|
||||
wl(tostring(k-1).." "..v.." "..component.type(v).." "..component.invoke(v,"getLabel"))
|
||||
wl(tostring(k-1).." "..v.." "..component.type(v).." "..(component.invoke(v,"getLabel") or ""))
|
||||
end
|
||||
local timer = 5
|
||||
while computer.uptime() < timer do
|
||||
|
Loading…
Reference in New Issue
Block a user