mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-11 22:44:44 +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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue