mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +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
@ -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