made setattr() convert values to strings

This commit is contained in:
Izaya 2017-09-15 15:59:43 +10:00
parent 366a420930
commit 67356aa589

View File

@ -36,7 +36,7 @@ do
fsattr[fn] = {} fsattr[fn] = {}
setmetatable(fsattr[fn],{__index=dfsattr}) setmetatable(fsattr[fn],{__index=dfsattr})
end end
fsattr[fn][k] = v fsattr[fn][k] = tostring(v)
end end
function fs.mount(mp,pr) function fs.mount(mp,pr)
fT[mp] = pr fT[mp] = pr