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:
commit
6aeb5f1172
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user