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

Remove trailing slash on os-release check

Fixes #CLOSED 

Remove trailing slash that would cause an os-check to always fail out.
This commit is contained in:
Dan Schaper 2016-07-15 22:46:21 -07:00 committed by GitHub
parent 61ff12e8d4
commit ce8f07750f

View File

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