mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue