From ce8f07750f04409bbc6354cb46dd604688dfa01b Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Fri, 15 Jul 2016 22:46:21 -0700 Subject: [PATCH] Remove trailing slash on os-release check Fixes #CLOSED Remove trailing slash that would cause an os-check to always fail out. --- advanced/Scripts/piholeDebug.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index c5b52daf..36ae15bc 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -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 }