2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-04 13:02:25 +00:00

Handle blank lines without error

Do not trigger syntax error on a blank expression.
This commit is contained in:
Jarrod Johnson 2020-05-29 12:23:57 -04:00
parent 6ee9ccbc27
commit c1576e9787

View File

@ -88,7 +88,7 @@ while read -r entry; do
fi
fi
nameserversec=0
if [ ${entry%:*} = "nameservers" ]; then
if [ "${entry%:*}" = "nameservers" ]; then
nameserversec=1
continue
fi