#1253 fix on switch

This commit is contained in:
rootzoll 2020-06-23 21:59:30 +02:00
parent d1305ada2e
commit b460147eaa

View File

@ -392,7 +392,7 @@ if [ "${zerotier}" != "${choice}" ]; then
anychange=1
error=""
source <(sudo -u admin /home/admin/config.scripts/bonus.zerotier.sh ${choice})
if [ "${choice}" != "on" ]; then
if [ "${choice}" == "on" ]; then
if [ ${#error} -eq 0 ]; then
dialog --msgbox "Your RaspiBlitz joined the ZeroTier network." 6 46
else