Merge pull request #575 from pi-hole/bugfix/distrib_vers_check

Remove trailing slash on os-release check
This commit is contained in:
Mcat12 2016-07-17 07:37:55 -04:00 committed by GitHub
commit 6aeb5f1172

View file

@ -69,7 +69,7 @@ function distroCheck {
echo "######## Distribution Section #########" >> $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
}