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:
Dan Schaper 2016-07-15 22:46:21 -07:00 committed by GitHub
parent 61ff12e8d4
commit ce8f07750f

View file

@ -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
} }