diff --git a/pihole-sync b/pihole-sync index 26ed07f..1748c6a 100755 --- a/pihole-sync +++ b/pihole-sync @@ -178,7 +178,7 @@ pull () { # $SUDO service pihole-FTL stop # cp $custom_list $pihole_dir # cp $cname_list $dnsmasq_dir - if [ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"10.10.10.11"* ]; then + if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"10.10.10.11"* ]]; then # cp $localdomains_list $dnsmasq_dir echo "copying" else