mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
read -r -a, not read -a -r
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
3d4fea6510
commit
d57f9906bd
1 changed files with 1 additions and 1 deletions
|
@ -907,7 +907,7 @@ parse_file() {
|
||||||
#shellcheck disable=SC2016
|
#shellcheck disable=SC2016
|
||||||
IFS=$'\r\n' command eval 'file_info=( $(cat "${filename}") )'
|
IFS=$'\r\n' command eval 'file_info=( $(cat "${filename}") )'
|
||||||
else
|
else
|
||||||
read -a -r file_info <<< "$filename"
|
read -r -a file_info <<< "$filename"
|
||||||
fi
|
fi
|
||||||
# Set a named variable for better readability
|
# Set a named variable for better readability
|
||||||
local file_lines
|
local file_lines
|
||||||
|
|
Loading…
Reference in a new issue