mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-25 18:42:16 -05:00
hide minor error
An error shows up on the first install that `latentWhitelist.txt` doesn't exist and can't be removed. Redirecting STDERR should fix this.
This commit is contained in:
parent
94f7363b8f
commit
26dcbfc1f9
@ -183,7 +183,7 @@ function gravity_pulsar() {
|
|||||||
# regexp so it can be parsed out with grep -x
|
# regexp so it can be parsed out with grep -x
|
||||||
awk -F '[# \t]' 'NF>0&&$1!="" {print "^"$1"$"}' $whitelist | sed 's/\./\\./g' > $latentWhitelist
|
awk -F '[# \t]' 'NF>0&&$1!="" {print "^"$1"$"}' $whitelist | sed 's/\./\\./g' > $latentWhitelist
|
||||||
else
|
else
|
||||||
rm $latentWhitelist >/dev/null
|
rm $latentWhitelist 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prevent our sources from being pulled into the hole
|
# Prevent our sources from being pulled into the hole
|
||||||
|
Loading…
Reference in New Issue
Block a user