Skip to content

Commit 93a1710

Browse files
authored
technitiumdns: fix unbound variable (#7047)
1 parent 91a5c9c commit 93a1710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ct/technitiumdns.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function update_script() {
2929
fi
3030

3131
RELEASE=$(curl -fsSL https://technitium.com/dns/ | grep -oP 'Version \K[\d.]+')
32-
if [[ ! -f ~/.technitium || "${VERSION}" != "$(cat ~/.technitium)" ]]; then
32+
if [[ ! -f ~/.technitium || "${RELEASE}" != "$(cat ~/.technitium)" ]]; then
3333
msg_info "Updating ${APP}"
3434
curl -fsSL "https://download.technitium.com/dns/DnsServerPortable.tar.gz" -o /opt/DnsServerPortable.tar.gz
3535
$STD tar zxvf /opt/DnsServerPortable.tar.gz -C /opt/technitium/dns/

0 commit comments

Comments
 (0)