Skip to content

Commit 3203be2

Browse files
committed
fix: dnserr on new line
1 parent 0022e96 commit 3203be2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/plugins/dynamix.unraid.net.plg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ fi
6464
dnscheck() {
6565
HOST=$1
6666
if [ -x /usr/bin/host ] && ! /usr/bin/host -W 10 "${HOST}" &>/dev/null; then
67-
echo "⚠️ Warning: Your DNS server (${DNS_SERVER1}) is unable to resolve '${HOST}'" DNSERR=yes
67+
echo "⚠️ Warning: Your DNS server (${DNS_SERVER1}) is unable to resolve '${HOST}'"
68+
DNSERR=yes
6869
fi
6970
}
7071

0 commit comments

Comments
 (0)