Don't print error message on 32bit platforms

This commit is contained in:
DL6ER 2017-02-13 14:42:11 +01:00
parent 7fb6b71d52
commit 09d6e73b0a
No known key found for this signature in database
GPG key ID: BB8EC0BC77973A30

View file

@ -1180,7 +1180,9 @@ FTLdownload() {
binary="pihole-FTL-linux-x86_64"
else
# Something else - we try to use 32bit executable and warn the user
echo "Not able to detect architecture"
if [[ ! $machine == i686 ]]; then
echo "Not able to detect architecture, trying 32bit executable"
fi
binary="pihole-FTL-linux-x86_32"
fi