1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-13 19:28:59 +00:00

Disable shellcheck as it suggests a bashism

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-10-21 14:31:16 +02:00
parent c322458dcb
commit df3e9e5f51
No known key found for this signature in database

View File

@ -629,6 +629,8 @@ checkDomain()
escapeDots()
{
# shellcheck disable=SC2001
# SH suggest bashism ${variable//search/replace}
escaped=$(sed 's/\./\\./g' <<< "$1" )
echo "${escaped}"
}