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:
parent
c322458dcb
commit
df3e9e5f51
@ -629,6 +629,8 @@ checkDomain()
|
||||
|
||||
escapeDots()
|
||||
{
|
||||
# shellcheck disable=SC2001
|
||||
# SH suggest bashism ${variable//search/replace}
|
||||
escaped=$(sed 's/\./\\./g' <<< "$1" )
|
||||
echo "${escaped}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user