Skip to content

Commit b7efa35

Browse files
authored
Merge pull request #44 from sheeeng/fix-syntax-error
Fix syntax error.
2 parents 1eb08a5 + 93d461a commit b7efa35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

padd.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ GetNetworkInformation() {
259259
[[ -n "${PIHOLE_DNS_6}" ]] && dnsCount=$((dnsCount+1))
260260
[[ -n "${PIHOLE_DNS_7}" ]] && dnsCount=$((dnsCount+1))
261261
[[ -n "${PIHOLE_DNS_8}" ]] && dnsCount=$((dnsCount+1))
262-
[[ -n "${PIHOLE_DNS_9}" ]] && dnsCount="$dnsCount+"
262+
[[ -n "${PIHOLE_DNS_9}" ]] && dnsCount=$((dnsCount+1))
263263

264264
# if there's only one DNS server
265265
if [[ ${dnsCount} -eq 1 ]]; then

0 commit comments

Comments
 (0)