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