1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 14:18:15 +00:00

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
}