Update netmount.lua
This commit is contained in:
@@ -33,6 +33,7 @@ while true do
|
||||
sleep()
|
||||
end
|
||||
|
||||
local _, nm = assert(pcall(assert(load(handle.readAll(), "nmapi", nil, _ENV))))
|
||||
handle.close()
|
||||
local state = assert(nm.createState(args.url, args.username, args.password))
|
||||
|
||||
@@ -200,4 +201,4 @@ end
|
||||
state.close()
|
||||
print("Press any key to continue")
|
||||
os.pullEvent("key")
|
||||
_G.fs = ofs
|
||||
_G.fs = ofs
|
||||
|
||||
Reference in New Issue
Block a user