From b011e5f838e74e808856a426fa11b2cfc08339cb Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Thu, 14 Jul 2016 11:35:52 -0700 Subject: [PATCH] Add os-release check --- 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 8d0d3fa7..86bff3c2 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -72,7 +72,7 @@ function distroCheck { echo "######## Distribution Section #########" >> $DEBUG_LOG echo "#######################################" >> $DEBUG_LOG - TMP=$(cat /etc/lsb-release/ || echo "Failed to find lsb") + TMP=$(cat /etc/lsb-release/ || cat /etc/os-release || echo "Failed to find release") echo "Distribution Version: $TMP" >> $DEBUG_LOG function compareWhitelist {