gluon-config-mode-mesh-vpn: don't initialize empty variables msg and pubkey

This commit is contained in:
rubo77 2017-02-21 20:54:03 +01:00
parent cd0366c739
commit b4a2529f67

View File

@ -10,11 +10,11 @@ local sysconfig = require 'gluon.sysconfig'
local pretty_hostname = require 'pretty_hostname'
local pubkey = ""
local pubkey
local hostname = pretty_hostname.get(uci)
local contact = uci:get_first("gluon-node-info", "owner", "contact")
local msg = ""
local msg
if meshvpn_enabled ~= "1" then
msg = i18n.translate('gluon-config-mode:novpn')
else