made fs-automount not crash the system when running under ocvm
This commit is contained in:
parent
fcf9599abe
commit
31e5c5a54b
@ -9,7 +9,7 @@ do
|
||||
fs.mount("boot",component.proxy(c))
|
||||
print(c:sub(1,8).." mounted as boot")
|
||||
end
|
||||
if component.invoke(c,"getLabel") ~= "" then
|
||||
if component.invoke(c,"getLabel") ~= "" and component.invoke(c,"getLabel") ~= nil then
|
||||
fs.mount(component.invoke(c,"getLabel"),component.proxy(c))
|
||||
print(c:sub(1,8).." mounted as "..component.invoke(c,"getLabel"))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user