supress output of `which command` on centos/fedora as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155156819

Signed-off-by: Adam Warner <adamw@rner.email>
pull/1792/head
Adam Warner 7 years ago
parent 945dcc6c2b
commit dd6a9a0b84
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

@ -1856,7 +1856,7 @@ FTLdetect() {
#If the installed version matches the latest version, then check the installed sha1sum of the binary vs the remote sha1sum. If they do not match, then download
echo -e " ${INFO} Checking for existing FTL binary..."
local ftlLoc=$(which pihole-FTL)
local ftlLoc=$(which pihole-FTL 2>/dev/null)
if [[ ${ftlLoc} ]]; then
local FTLversion=$(/usr/bin/pihole-FTL tag)

Loading…
Cancel
Save