mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Remove double quotes that prevented _any_ local files from being read by gravity (#5617)
This commit is contained in:
commit
32c640e838
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ gravity_DownloadBlocklistFromUrl() {
|
||||||
else
|
else
|
||||||
# Check if the file has a+r permissions
|
# Check if the file has a+r permissions
|
||||||
permissions=$(stat -c "%a" "$file_path")
|
permissions=$(stat -c "%a" "$file_path")
|
||||||
if [[ $permissions == "??4" || $permissions == "??5" || $permissions == "??6" || $permissions == "??7" ]]; then
|
if [[ $permissions == *4 || $permissions == *5 || $permissions == *6 || $permissions == *7 ]]; then
|
||||||
# Output that we are using the local file
|
# Output that we are using the local file
|
||||||
echo -e "${OVER} ${INFO} Using local file ${file_path}"
|
echo -e "${OVER} ${INFO} Using local file ${file_path}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue