Skip to content

Commit

Permalink
variable name, use quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
kewlfft committed Sep 8, 2019
1 parent e3ba0b8 commit 72973a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opennic-up
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if [ $reliablecount -ge 2 ]; then
done
else
# resolv.conf
touch $resolvconf
touch "$resolvconf"
currentdnss=$(grep '^nameserver ' "$resolvconf" | cut -d' ' -f2)
if [ "$(echo "$currentdnss" | sort)" == "$(echo "$myhosts" | sort)" ]; then
log 'No dns change'
Expand Down

0 comments on commit 72973a0

Please sign in to comment.