0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

signing returns success boolean

This commit is contained in:
peteruithoven 2013-10-02 14:41:15 +02:00
parent aab27a9768
commit e7db73a09b

View File

@ -15,7 +15,7 @@ function M.signin()
local localip = wifi.getLocalIP();
if localip == nil then
log:error("signin failed no local ip found")
return
return false
end
local wifiboxid = wifi.getSubstitutedSsid(settings.get('network.cl.wifiboxid'))
@ -24,7 +24,7 @@ function M.signin()
local output = utils.captureCommandOutput(cmd);
log:info("signin: "..output)
return 0
return string.len(output) > 0
end
return M