mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +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:
parent
61ff12e8d4
commit
ce8f07750f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue