I'm stupid sometimes

This commit is contained in:
Izaya 2023-08-07 12:56:59 +10:00
parent 00d4472f91
commit a05e19b545

View File

@ -2,7 +2,7 @@ local fsmanager = {}
fsmanager.filesystems = {}
local run = true
local function fsmanager.mount(addr)
function fsmanager.mount(addr)
dest = "/" .. (component.invoke(addr,"getLabel") or "mnt/"..addr:sub(1,3))
syslog("Mounting "..addr.." to "..dest)
fs.makeDirectory(dest)