mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-01 02:23:21 +00:00
Instead of an || cat whole /etc/*release
This commit is contained in:
parent
b011e5f838
commit
88f080c761
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue