Remove trailing slash on os-release check

Fixes #CLOSED 

Remove trailing slash that would cause an os-check to always fail out.
pull/575/head
Dan Schaper 8 years ago committed by GitHub
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…
Cancel
Save