1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

Instead of an or, cat *release

This commit is contained in:
Sander 2016-07-14 20:47:27 +02:00 committed by GitHub
parent b011e5f838
commit 11f2524b9b

View File

@ -72,7 +72,7 @@ function distroCheck {
echo "######## Distribution Section #########" >> $DEBUG_LOG
echo "#######################################" >> $DEBUG_LOG
TMP=$(cat /etc/lsb-release/ || cat /etc/os-release || echo "Failed to find release")
TMP=$(cat /etc/*release/ || echo "Failed to find release")
echo "Distribution Version: $TMP" >> $DEBUG_LOG
function compareWhitelist {