From 67356aa589a781f73e6e63d7d3876753c30f044c Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Fri, 15 Sep 2017 15:59:43 +1000 Subject: [PATCH] made setattr() convert values to strings --- modules/lib/fs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lib/fs.lua b/modules/lib/fs.lua index c093d40..4d0408d 100644 --- a/modules/lib/fs.lua +++ b/modules/lib/fs.lua @@ -36,7 +36,7 @@ do fsattr[fn] = {} setmetatable(fsattr[fn],{__index=dfsattr}) end - fsattr[fn][k] = v + fsattr[fn][k] = tostring(v) end function fs.mount(mp,pr) fT[mp] = pr