mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 14:20:18 +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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue