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
1 changed files with 2 additions and 0 deletions

View File

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