From d57f9906bd124c5668f07b482d34cde8c658c672 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 26 Oct 2018 19:24:43 +0100 Subject: [PATCH] read -r -a, not read -a -r Signed-off-by: Adam Warner --- 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 022265fd..dcbd5861 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -907,7 +907,7 @@ parse_file() { #shellcheck disable=SC2016 IFS=$'\r\n' command eval 'file_info=( $(cat "${filename}") )' else - read -a -r file_info <<< "$filename" + read -r -a file_info <<< "$filename" fi # Set a named variable for better readability local file_lines