gluon-hoodselector: remove outdated comments

This commit is contained in:
Jan-Tarek Butt 2018-08-25 16:31:22 +02:00
parent 898ceff9a8
commit 436bc8f5b0

View File

@ -44,14 +44,14 @@ if hoodutil.directVPN() then
local geoHood = hoodutil.getHoodByGeo(jhood, geo) local geoHood = hoodutil.getHoodByGeo(jhood, geo)
if geoHood ~= nil then if geoHood ~= nil then
if hoodutil.set_hoodconfig(geoHood) then if hoodutil.set_hoodconfig(geoHood) then
hoodutil.restart_services() -- temporary solution hoodutil.restart_services()
io.stdout:write('Hood set by VPN mode.\n') io.stdout:write('Hood set by VPN mode.\n')
end end
os.exit(0) os.exit(0)
end end
io.stdout:write('No hood has been defined for the current position.\n') io.stdout:write('No hood has been defined for the current position.\n')
if hoodutil.set_hoodconfig(hoodutil.getDefaultHood(jhood)) then if hoodutil.set_hoodconfig(hoodutil.getDefaultHood(jhood)) then
hoodutil.restart_services() -- TMP solution hoodutil.restart_services()
io.stdout:write('Hood set by VPN mode.\n') io.stdout:write('Hood set by VPN mode.\n')
end end
os.exit(0) os.exit(0)