mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-22 01:02:15 -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
|
||||
awk -F '[# \t]' 'NF>0&&$1!="" {print "^"$1"$"}' $whitelist | sed 's/\./\\./g' > $latentWhitelist
|
||||
else
|
||||
rm $latentWhitelist >/dev/null
|
||||
rm $latentWhitelist 2>/dev/null
|
||||
fi
|
||||
|
||||
# Prevent our sources from being pulled into the hole
|
||||
|
Loading…
Reference in New Issue
Block a user