From b57b3f4588d9b84986ec32accd30b3e9a7b24b75 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 15 Apr 2018 21:36:50 +0100 Subject: [PATCH] Disable SC2001 for generation of `the_os` Signed-off-by: Adam Warner --- advanced/Scripts/piholeDebug.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index 34b01a72..df46106d 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -365,6 +365,7 @@ check_critical_program_versions() { is_os_supported() { local os_to_check="${1}" # Strip just the base name of the system using sed + # shellcheck disable=SC2001 the_os=$(echo "${os_to_check}" | sed 's/ .*//') # If the variable is one of our supported OSes, case "${the_os}" in